Class SpringHandlerEnhancerDefinitionBean

java.lang.Object
org.axonframework.spring.config.annotation.SpringHandlerEnhancerDefinitionBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Deprecated public class SpringHandlerEnhancerDefinitionBean extends Object implements org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Deprecated.
Spring factory bean that creates a HandlerEnhancerDefinition instance that is capable of resolving parameter values as Spring Beans, in addition to the default behavior defined by Axon.
Since:
3.3
Author:
Milan Savic
See Also:
  • Constructor Details

    • SpringHandlerEnhancerDefinitionBean

      public SpringHandlerEnhancerDefinitionBean()
      Deprecated.
      Initializes definition bean with assumption that application context will be injected.
    • SpringHandlerEnhancerDefinitionBean

      public SpringHandlerEnhancerDefinitionBean(org.springframework.context.ApplicationContext applicationContext)
      Deprecated.
      Initializes definition bean with given application context.
      Parameters:
      applicationContext - application context
  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader(@Nonnull ClassLoader classLoader)
      Deprecated.
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
    • getObject

      public HandlerEnhancerDefinition getObject()
      Deprecated.
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>
    • getObjectType

      public Class<?> getObjectType()
      Deprecated.
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>
    • isSingleton

      public boolean isSingleton()
      Deprecated.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Deprecated.
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • setApplicationContext

      public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Deprecated.
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • setAdditionalHandlers

      public void setAdditionalHandlers(List<HandlerEnhancerDefinition> additionalFactories)
      Deprecated.
      Defines any additional handler enhancer definitions that should be used. By default, the HandlerEnhancerDefinitions are found on the classpath, as well as a SpringBeanParameterResolverFactory are registered.
      Parameters:
      additionalFactories - The extra definitions to register
      See Also: