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.BeanClassLoaderAware
public 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.InitializingBean
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void setAdditionalHandlers(List<HandlerEnhancerDefinition> additionalFactories)
additionalFactories
- The extra definitions to registerSpringBeanParameterResolverFactory
,
ClasspathHandlerEnhancerDefinition
Copyright © 2010–2022. All rights reserved.