public class ApplicationContextLookupParameterResolverFactory extends Object implements org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
ApplicationContextLookupParameterResolverFactory(List<ParameterResolverFactory> defaultFactories)
Creates an instance, using the given
defaultFactories . |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
ParameterResolverFactory |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public ApplicationContextLookupParameterResolverFactory(List<ParameterResolverFactory> defaultFactories)
defaultFactories
. These are added, regardless of the beans
discovered in the application context.defaultFactories
- The ParameterResolverFactory instances to add by defaultpublic ParameterResolverFactory getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<ParameterResolverFactory>
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 setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Copyright © 2010–2019. All rights reserved.