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