Class ApplicationContextLookupParameterResolverFactory

java.lang.Object
org.axonframework.spring.config.ApplicationContextLookupParameterResolverFactory
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Deprecated public class ApplicationContextLookupParameterResolverFactory extends Object implements org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Deprecated.
Use Spring Boot autoconfiguration or register the individual beans explicitly.
FactoryBean implementation that create a ParameterResolverFactory, which auto-detects beans implementing ParameterResolverFactory beans in the application context.
Since:
2.1.2
Author:
Allard Buijze
  • Constructor Details

    • ApplicationContextLookupParameterResolverFactory

      public ApplicationContextLookupParameterResolverFactory(List<ParameterResolverFactory> defaultFactories)
      Deprecated.
      Creates an instance, using the given defaultFactories. These are added, regardless of the beans discovered in the application context.
      Parameters:
      defaultFactories - The ParameterResolverFactory instances to add by default
  • Method Details

    • getObject

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

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

      public boolean isSingleton()
      Deprecated.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>
    • 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
    • afterPropertiesSet

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