public class ConfigurerImpl extends BeanConfigurerSupport implements Configurer, BusExtension
DEFAULT_USER_CFG_FILE, USER_CFG_FILE_PROPERTY_NAME, USER_CFG_FILE_PROPERTY_URL
Constructor and Description |
---|
ConfigurerImpl() |
ConfigurerImpl(ApplicationContext ac) |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationContext(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<ApplicationContext> |
getAppContexts() |
protected String |
getBeanName(Object beanInstance) |
Class<?> |
getRegistrationType() |
void |
setApplicationContext(ApplicationContext ac) |
void |
setBeanFactory(BeanFactory beanFactory) |
public ConfigurerImpl()
public ConfigurerImpl(ApplicationContext ac)
public void setBeanFactory(BeanFactory beanFactory)
public void configureBean(Object beanInstance)
Configurer
configureBean
in interface Configurer
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(ApplicationContext ac)
public final void addApplicationContext(ApplicationContext ac)
public void destroy()
public Class<?> getRegistrationType()
getRegistrationType
in interface BusExtension
protected Set<ApplicationContext> getAppContexts()
Copyright © 2016 JBoss by Red Hat. All rights reserved.