public class SpringParameterResolverFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
SpringBeanParameterResolverFactory
,
ClasspathParameterResolverFactory
Constructor and Description |
---|
SpringParameterResolverFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
ParameterResolverFactory |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setAdditionalFactories(List<ParameterResolverFactory> additionalFactories)
Defines any additional parameter resolver factories that need to be used to resolve parameters.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanClassLoader(ClassLoader classLoader) |
public ParameterResolverFactory getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void setAdditionalFactories(List<ParameterResolverFactory> additionalFactories)
additionalFactories
- The extra factories to registerSpringBeanParameterResolverFactory
,
ClasspathParameterResolverFactory
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2010–2017. All rights reserved.