org.apache.cxf.configuration.spring
Class ConfigurerImpl
java.lang.Object
org.springframework.beans.factory.wiring.BeanConfigurerSupport
org.apache.cxf.configuration.spring.ConfigurerImpl
- All Implemented Interfaces:
- Configurer, BusExtension, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class ConfigurerImpl
- extends org.springframework.beans.factory.wiring.BeanConfigurerSupport
- implements Configurer, org.springframework.context.ApplicationContextAware, BusExtension
Fields inherited from class org.springframework.beans.factory.wiring.BeanConfigurerSupport |
logger |
Method Summary |
void |
addApplicationContext(org.springframework.context.ApplicationContext ac)
|
void |
configureBean(java.lang.Object beanInstance)
set up the Bean's value by using Dependency Injection from the application context |
void |
configureBean(java.lang.String bn,
java.lang.Object beanInstance)
set up the Bean's value by using Dependency Injection from the application context
with a proper name. |
void |
configureBean(java.lang.String bn,
java.lang.Object beanInstance,
boolean checkWildcards)
|
void |
destroy()
|
protected java.lang.String |
getBeanName(java.lang.Object beanInstance)
|
java.lang.Class<?> |
getRegistrationType()
|
void |
setApplicationContext(org.springframework.context.ApplicationContext ac)
|
Methods inherited from class org.springframework.beans.factory.wiring.BeanConfigurerSupport |
afterPropertiesSet, createDefaultBeanWiringInfoResolver, setBeanFactory, setBeanWiringInfoResolver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurerImpl
public ConfigurerImpl()
ConfigurerImpl
public ConfigurerImpl(org.springframework.context.ApplicationContext ac)
configureBean
public void configureBean(java.lang.Object beanInstance)
- Description copied from interface:
Configurer
- set up the Bean's value by using Dependency Injection from the application context
- Specified by:
configureBean
in interface Configurer
- Overrides:
configureBean
in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
- Parameters:
beanInstance
- the instance of the bean which needs to be configured
configureBean
public void configureBean(java.lang.String bn,
java.lang.Object beanInstance)
- Description copied from interface:
Configurer
- set up the Bean's value by using Dependency Injection from the application context
with a proper name. You can use * as the prefix of wildcard name.
- Specified by:
configureBean
in interface Configurer
- Parameters:
bn
- the name of the bean which needs to be configuredbeanInstance
- the instance of bean which need to be configured
configureBean
public void configureBean(java.lang.String bn,
java.lang.Object beanInstance,
boolean checkWildcards)
getBeanName
protected java.lang.String getBeanName(java.lang.Object beanInstance)
setApplicationContext
public final void setApplicationContext(org.springframework.context.ApplicationContext ac)
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
addApplicationContext
public final void addApplicationContext(org.springframework.context.ApplicationContext ac)
destroy
public void destroy()
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Overrides:
destroy
in class org.springframework.beans.factory.wiring.BeanConfigurerSupport
getRegistrationType
public java.lang.Class<?> getRegistrationType()
- Specified by:
getRegistrationType
in interface BusExtension
Apache CXF