Class SpringHandlerDefinitionBean
java.lang.Object
org.axonframework.spring.config.annotation.SpringHandlerDefinitionBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.FactoryBean<HandlerDefinition>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
@Deprecated
public class SpringHandlerDefinitionBean
extends Object
implements org.springframework.beans.factory.FactoryBean<HandlerDefinition>, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Deprecated.
Spring factory bean that creates a HandlerDefinition instance that is capable of resolving parameter values as Spring
Beans, in addition to the default behavior defined by Axon.
- Since:
- 3.3
- Author:
- Tyler Thrailkill, Milan Savic
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Initializes definition bean with assumption that application context will be injected.SpringHandlerDefinitionBean(org.springframework.context.ApplicationContext applicationContext) Deprecated.Initializes definition bean with given application context. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Deprecated.Class<?> Deprecated.booleanDeprecated.voidsetAdditionalHandlerEnhancers(List<HandlerEnhancerDefinition> additionalFactories) Deprecated.Defines any additional handler definitions that should be used.voidsetAdditionalHandlers(List<HandlerDefinition> additionalFactories) Deprecated.Defines any additional handler definitions that should be used.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Deprecated.voidsetBeanClassLoader(ClassLoader classLoader) Deprecated.
-
Constructor Details
-
SpringHandlerDefinitionBean
public SpringHandlerDefinitionBean()Deprecated.Initializes definition bean with assumption that application context will be injected. -
SpringHandlerDefinitionBean
public SpringHandlerDefinitionBean(org.springframework.context.ApplicationContext applicationContext) Deprecated.Initializes definition bean with given application context.- Parameters:
applicationContext- application context
-
-
Method Details
-
getObject
Deprecated.- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<HandlerDefinition>
-
getObjectType
Deprecated.- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<HandlerDefinition>
-
isSingleton
public boolean isSingleton()Deprecated.- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<HandlerDefinition>
-
afterPropertiesSet
public void afterPropertiesSet()Deprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
setAdditionalHandlers
Deprecated.Defines any additional handler definitions that should be used. By default, the HandlerDefinitions are found on the classpath, as well as a SpringBeanParameterResolverFactory are registered.- Parameters:
additionalFactories- The extra definitions to register- See Also:
-
setAdditionalHandlerEnhancers
Deprecated.Defines any additional handler definitions that should be used. By default, the HandlerDefinitions are found on the classpath, as well as a SpringBeanParameterResolverFactory are registered.- Parameters:
additionalFactories- The extra definitions to register- See Also:
-
setBeanClassLoader
Deprecated.- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
setApplicationContext
public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException Deprecated.- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
HandlerDefinitionFactoryBean.