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.Aware,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
-
Field Summary
Fields inherited from class org.springframework.beans.factory.wiring.BeanConfigurerSupport
loggerFields inherited from interface org.apache.cxf.configuration.Configurer
DEFAULT_USER_CFG_FILE, USER_CFG_FILE_PROPERTY_NAME, USER_CFG_FILE_PROPERTY_URL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddApplicationContext(org.springframework.context.ApplicationContext ac) voidconfigureBean(Object beanInstance) set up the Bean's value by using Dependency Injection from the application contextvoidconfigureBean(String bn, Object beanInstance) set up the Bean's value by using Dependency Injection from the application context with a proper name.voidconfigureBean(String bn, Object beanInstance, boolean checkWildcards) voiddestroy()protected Set<org.springframework.context.ApplicationContext>protected StringgetBeanName(Object beanInstance) Class<?>final voidsetApplicationContext(org.springframework.context.ApplicationContext ac) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) Methods inherited from class org.springframework.beans.factory.wiring.BeanConfigurerSupport
afterPropertiesSet, createDefaultBeanWiringInfoResolver, setBeanWiringInfoResolver
-
Constructor Details
-
ConfigurerImpl
public ConfigurerImpl() -
ConfigurerImpl
public ConfigurerImpl(org.springframework.context.ApplicationContext ac)
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Overrides:
setBeanFactoryin classorg.springframework.beans.factory.wiring.BeanConfigurerSupport
-
configureBean
Description copied from interface:Configurerset up the Bean's value by using Dependency Injection from the application context- Specified by:
configureBeanin interfaceConfigurer- Overrides:
configureBeanin classorg.springframework.beans.factory.wiring.BeanConfigurerSupport- Parameters:
beanInstance- the instance of the bean which needs to be configured
-
configureBean
Description copied from interface:Configurerset 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:
configureBeanin interfaceConfigurer- Parameters:
bn- the name of the bean which needs to be configuredbeanInstance- the instance of bean which need to be configured
-
configureBean
-
getBeanName
-
setApplicationContext
public final void setApplicationContext(org.springframework.context.ApplicationContext ac) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
addApplicationContext
public final void addApplicationContext(org.springframework.context.ApplicationContext ac) -
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Overrides:
destroyin classorg.springframework.beans.factory.wiring.BeanConfigurerSupport
-
getRegistrationType
- Specified by:
getRegistrationTypein interfaceBusExtension
-
getAppContexts
-