class GroovyBeanDefinitionWrapper
extends GroovyObjectSupport
GroovyBeanDefinitionReader
closure.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
AUTOWIRE |
private java.lang.String |
beanName |
private java.lang.Class<?> |
clazz |
private static java.lang.String |
CONSTRUCTOR_ARGS |
private java.util.Collection<?> |
constructorArgs |
private AbstractBeanDefinition |
definition |
private BeanWrapper |
definitionWrapper |
private static java.lang.String |
DESTROY_METHOD |
private static java.util.List<java.lang.String> |
dynamicProperties |
private static java.lang.String |
FACTORY_BEAN |
private static java.lang.String |
FACTORY_METHOD |
private static java.lang.String |
INIT_METHOD |
private static java.lang.String |
PARENT |
private java.lang.String |
parentName |
private static java.lang.String |
SINGLETON |
Constructor and Description |
---|
GroovyBeanDefinitionWrapper(java.lang.String beanName) |
GroovyBeanDefinitionWrapper(java.lang.String beanName,
java.lang.Class<?> clazz) |
GroovyBeanDefinitionWrapper(java.lang.String beanName,
java.lang.Class<?> clazz,
java.util.Collection<?> constructorArgs) |
Modifier and Type | Method and Description |
---|---|
GroovyBeanDefinitionWrapper |
addProperty(java.lang.String propertyName,
java.lang.Object propertyValue) |
protected AbstractBeanDefinition |
createBeanDefinition() |
AbstractBeanDefinition |
getBeanDefinition() |
BeanDefinitionHolder |
getBeanDefinitionHolder() |
java.lang.String |
getBeanName() |
java.lang.Object |
getProperty(java.lang.String property) |
void |
setBeanDefinition(AbstractBeanDefinition definition) |
void |
setBeanDefinitionHolder(BeanDefinitionHolder holder) |
void |
setParent(java.lang.Object obj) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue) |
private static final java.lang.String PARENT
private static final java.lang.String AUTOWIRE
private static final java.lang.String CONSTRUCTOR_ARGS
private static final java.lang.String FACTORY_BEAN
private static final java.lang.String FACTORY_METHOD
private static final java.lang.String INIT_METHOD
private static final java.lang.String DESTROY_METHOD
private static final java.lang.String SINGLETON
private static final java.util.List<java.lang.String> dynamicProperties
private java.lang.String beanName
private java.lang.Class<?> clazz
private java.util.Collection<?> constructorArgs
private AbstractBeanDefinition definition
private BeanWrapper definitionWrapper
private java.lang.String parentName
public GroovyBeanDefinitionWrapper(java.lang.String beanName)
public GroovyBeanDefinitionWrapper(java.lang.String beanName, java.lang.Class<?> clazz)
public GroovyBeanDefinitionWrapper(java.lang.String beanName, java.lang.Class<?> clazz, java.util.Collection<?> constructorArgs)
public java.lang.String getBeanName()
public void setBeanDefinition(AbstractBeanDefinition definition)
public AbstractBeanDefinition getBeanDefinition()
protected AbstractBeanDefinition createBeanDefinition()
public void setBeanDefinitionHolder(BeanDefinitionHolder holder)
public BeanDefinitionHolder getBeanDefinitionHolder()
public void setParent(java.lang.Object obj)
public GroovyBeanDefinitionWrapper addProperty(java.lang.String propertyName, java.lang.Object propertyValue)
public java.lang.Object getProperty(java.lang.String property)
public void setProperty(java.lang.String property, java.lang.Object newValue)