|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.commons.cfg.MapBasedSmartPropertyOverrideConfigurer
class MapBasedSmartPropertyOverrideConfigurer
Applies property configuration from a Map with bean names as keys and bean properties as name/value Maps (i.e. Map<String,Map<String,Object>>), trying to handle FactoryBeans specially by applying the properties to the actual bean.
Property Summary | |
---|---|
GrailsApplication |
application
|
Constructor Summary | |
MapBasedSmartPropertyOverrideConfigurer(GrailsApplication application)
|
Method Summary | |
---|---|
protected void
|
applyPropertyValue(ConfigurableListableBeanFactory factory, java.lang.String beanName, java.lang.String property, java.lang.Object value)
|
protected groovy.util.ConfigObject
|
getBeansConfig()
|
protected java.lang.ClassLoader
|
getClassLoader()
|
protected BeanDefinition
|
getTargetBeanDefinition(ConfigurableListableBeanFactory factory, java.lang.String beanName)
|
protected BeanDefinition
|
getTargetBeanDefinition(ConfigurableListableBeanFactory factory, java.lang.String beanName, BeanDefinition beanDefinition)
|
protected BeanDefinition
|
getTargetBeanDefinition(ConfigurableListableBeanFactory factory, java.lang.String beanName, BeanDefinition beanDefinition, java.lang.Class beanClass)
|
protected BeanDefinition
|
getTargetBeanDefinitionForFactoryBean(ConfigurableListableBeanFactory factory, java.lang.String beanName, BeanDefinition beanDefinition, java.lang.Class beanClass)
|
void
|
postProcessBeanFactory(ConfigurableListableBeanFactory factory)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
final GrailsApplication application
Constructor Detail |
---|
MapBasedSmartPropertyOverrideConfigurer(GrailsApplication application)
Method Detail |
---|
protected void applyPropertyValue(ConfigurableListableBeanFactory factory, java.lang.String beanName, java.lang.String property, java.lang.Object value)
protected groovy.util.ConfigObject getBeansConfig()
protected java.lang.ClassLoader getClassLoader()
protected BeanDefinition getTargetBeanDefinition(ConfigurableListableBeanFactory factory, java.lang.String beanName)
protected BeanDefinition getTargetBeanDefinition(ConfigurableListableBeanFactory factory, java.lang.String beanName, BeanDefinition beanDefinition)
protected BeanDefinition getTargetBeanDefinition(ConfigurableListableBeanFactory factory, java.lang.String beanName, BeanDefinition beanDefinition, java.lang.Class beanClass)
protected BeanDefinition getTargetBeanDefinitionForFactoryBean(ConfigurableListableBeanFactory factory, java.lang.String beanName, BeanDefinition beanDefinition, java.lang.Class beanClass)
void postProcessBeanFactory(ConfigurableListableBeanFactory factory)
Groovy Documentation