public class ConfigurerImpl extends org.springframework.beans.factory.wiring.BeanConfigurerSupport implements Configurer, org.springframework.context.ApplicationContextAware, BusExtension
DEFAULT_USER_CFG_FILE, USER_CFG_FILE_PROPERTY_NAME, USER_CFG_FILE_PROPERTY_URL
Constructor and Description |
---|
ConfigurerImpl() |
ConfigurerImpl(org.springframework.context.ApplicationContext ac) |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationContext(org.springframework.context.ApplicationContext ac) |
void |
configureBean(Object beanInstance)
set up the Bean's value by using Dependency Injection from the application context
|
void |
configureBean(String bn,
Object beanInstance)
set up the Bean's value by using Dependency Injection from the application context
with a proper name.
|
void |
configureBean(String bn,
Object beanInstance,
boolean checkWildcards) |
void |
destroy() |
protected Set<org.springframework.context.ApplicationContext> |
getAppContexts() |
protected String |
getBeanName(Object beanInstance) |
Class<?> |
getRegistrationType() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ac) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public ConfigurerImpl()
public ConfigurerImpl(org.springframework.context.ApplicationContext ac)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
setBeanFactory
in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
public void configureBean(Object beanInstance)
Configurer
configureBean
in interface Configurer
configureBean
in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
beanInstance
- the instance of the bean which needs to be configuredpublic void configureBean(String bn, Object beanInstance)
Configurer
configureBean
in interface Configurer
bn
- the name of the bean which needs to be configuredbeanInstance
- the instance of bean which need to be configuredpublic final void setApplicationContext(org.springframework.context.ApplicationContext ac)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public final void addApplicationContext(org.springframework.context.ApplicationContext ac)
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
public Class<?> getRegistrationType()
getRegistrationType
in interface BusExtension
protected Set<org.springframework.context.ApplicationContext> getAppContexts()
Apache CXF