Class HandlerDefinitionFactoryBean
java.lang.Object
org.axonframework.extension.spring.config.annotation.HandlerDefinitionFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.FactoryBean<HandlerDefinition>
public class HandlerDefinitionFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<HandlerDefinition>, org.springframework.beans.factory.BeanClassLoaderAware
Spring
those configured in a Spring Application Context) and complements those
found using a service loader on the Bean Class Loader.
FactoryBean that creates a HandlerDefinition using configured HandlerDefinition and
invalid @link
{@link HandlerEnhancerDefinition) beans (e.g.
This bean is to be used from a configuration file that auto wires the other HandlerDefinition and HandlerEnhancerDefinition beans from the Application Context.
- Since:
- 4.6.0
- Author:
- Allard Buijze
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionHandlerDefinitionFactoryBean(List<HandlerDefinition> definitions, List<HandlerEnhancerDefinition> enhancerDefinitions) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
HandlerDefinitionFactoryBean
public HandlerDefinitionFactoryBean(List<HandlerDefinition> definitions, List<HandlerEnhancerDefinition> enhancerDefinitions)
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<HandlerDefinition>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<HandlerDefinition>
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-