SpringConfigurer
, which itself is a Configurer
implementation.@Deprecated public class ConfigurerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Configurer>, org.springframework.context.ApplicationContextAware
Configurer
for use in a Spring Application Context.
This bean has a dependency on all ConfigurerModules
in the Application Context, which
are initialized before the Configurer is made available in the application context. This ensures that
any customizations made by autowiring the Configurer will override any defaults set by a ConfigurerModule.
The ConfigurerFactoryBean is wired by the SpringAxonAutoConfigurer
as part of Spring Boot Auto-Configuration
and should not be wired "manually" in an Application Context.
Constructor and Description |
---|
ConfigurerFactoryBean(Configurer configurer)
Deprecated.
Initialize the factory bean, using the given
configurer to make available in the Application Context,
once configured by the ConfigurerModules in that context. |
Modifier and Type | Method and Description |
---|---|
Configurer |
getObject()
Deprecated.
|
Class<?> |
getObjectType()
Deprecated.
|
boolean |
isSingleton()
Deprecated.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Deprecated.
|
void |
setConfigurerModules(List<ConfigurerModule> configurerModules)
Deprecated.
Registers the
configurerModules that provide context-sensitive default settings for the Configurer. |
public ConfigurerFactoryBean(Configurer configurer)
configurer
to make available in the Application Context,
once configured by the ConfigurerModules in that context.configurer
- The Configurer to make available in the Application Context@Autowired(required=false) public void setConfigurerModules(List<ConfigurerModule> configurerModules)
configurerModules
that provide context-sensitive default settings for the Configurer.configurerModules
- the modules that provide defaults for the Configurerpublic Configurer getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<Configurer>
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<Configurer>
public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<Configurer>
Copyright © 2010–2024. All rights reserved.