public class SpringHandlerEnhancerDefinitionBean extends Object implements org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
ClasspathHandlerEnhancerDefinition| Constructor and Description |
|---|
SpringHandlerEnhancerDefinitionBean()
Initializes definition bean with assumption that application context will be injected.
|
SpringHandlerEnhancerDefinitionBean(org.springframework.context.ApplicationContext applicationContext)
Initializes definition bean with given application context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
HandlerEnhancerDefinition |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setAdditionalHandlers(List<HandlerEnhancerDefinition> additionalFactories)
Defines any additional handler enhancer definitions that should be used.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanClassLoader(ClassLoader classLoader) |
public SpringHandlerEnhancerDefinitionBean()
public SpringHandlerEnhancerDefinitionBean(org.springframework.context.ApplicationContext applicationContext)
applicationContext - application contextpublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic HandlerEnhancerDefinition getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<HandlerEnhancerDefinition>public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setAdditionalHandlers(List<HandlerEnhancerDefinition> additionalFactories)
additionalFactories - The extra definitions to registerSpringBeanParameterResolverFactory,
ClasspathHandlerEnhancerDefinitionCopyright © 2010–2018. All rights reserved.