Skip to content

Commit 67433b7

Browse files
committed
feat: remove unused AgenticAggregateInfo loading logic from AgenticAggregateBeanFactoryPostProcessor
1 parent 784eeac commit 67433b7

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

main/agentic/src/main/java/org/elasticsoftware/akces/agentic/beans/AgenticAggregateBeanFactoryPostProcessor.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,6 @@ public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
162162
beanFactory.containsBeanDefinition("agenticServiceSchemaProducerFactory") &&
163163
beanFactory.containsBeanDefinition("agenticServiceAggregateStateRepositoryFactory")) {
164164

165-
AgenticAggregateInfo agenticInfo = null;
166-
try {
167-
agenticInfo = Class.forName(
168-
beanFactory.getBeanDefinition(beanName).getBeanClassName())
169-
.getAnnotation(AgenticAggregateInfo.class);
170-
} catch (ClassNotFoundException e) {
171-
throw new ApplicationContextException("Unable to load class for bean " + beanName, e);
172-
}
173-
174165
// AkcesAgenticAggregateController (Thread — started via init method, closed via destroy method)
175166
// The partition is created internally by the controller, so no separate partition bean is needed.
176167
bdr.registerBeanDefinition(beanName + "AgenticRuntime",

0 commit comments

Comments
 (0)