private class GroovyBeanDefinitionReader.GroovyRuntimeBeanReference extends RuntimeBeanReference
Modifier and Type | Class and Description |
---|---|
private class |
GroovyBeanDefinitionReader.GroovyRuntimeBeanReference.GroovyPropertyValue
Wraps a bean definition property an ensures that any RuntimeBeanReference
additions to it are deferred for resolution later.
|
Modifier and Type | Field and Description |
---|---|
private GroovyBeanDefinitionWrapper |
beanDefinition |
private MetaClass |
metaClass |
Constructor and Description |
---|
GroovyRuntimeBeanReference(java.lang.String beanName,
GroovyBeanDefinitionWrapper beanDefinition,
boolean toParent) |
Modifier and Type | Method and Description |
---|---|
MetaClass |
getMetaClass() |
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args) |
void |
setMetaClass(MetaClass metaClass) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue) |
equals, getBeanName, getSource, hashCode, isToParent, setSource, toString
private final GroovyBeanDefinitionWrapper beanDefinition
private MetaClass metaClass
public GroovyRuntimeBeanReference(java.lang.String beanName, GroovyBeanDefinitionWrapper beanDefinition, boolean toParent)
public MetaClass getMetaClass()
public java.lang.Object getProperty(java.lang.String property)
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
public void setMetaClass(MetaClass metaClass)
public void setProperty(java.lang.String property, java.lang.Object newValue)