public class ThreadManagedMetaBeanProperty extends MetaBeanProperty
name, PROPERTY_SET_PREFIX, type| Constructor and Description | 
|---|
| ThreadManagedMetaBeanProperty(Class declaringClass,
                             String name,
                             Class type,
                             Closure initialValueCreator)Constructs a new ThreadManagedBeanProperty for the given arguments | 
| ThreadManagedMetaBeanProperty(Class declaringClass,
                             String name,
                             Class type,
                             Object iv)Constructs a new ThreadManagedBeanProperty for the given arguments | 
| Modifier and Type | Method and Description | 
|---|---|
| MetaMethod | getGetter()Get the getter method. | 
| Object | getInitialValue()Retrieves the initial value of the ThreadBound property | 
| Object | getInitialValue(Object object) | 
| MetaMethod | getSetter()Get the setter method. | 
| void | setInitialValueCreator(Closure callable)Closure responsible for creating the initial value of thread-managed bean properties | 
getField, getModifiers, getProperty, setField, setPropertygetGetterName, getName, getSetterName, getTypepublic ThreadManagedMetaBeanProperty(Class declaringClass, String name, Class type, Object iv)
declaringClass - The class that declares the propertyname - The name of the propertytype - The type of the propertyiv - The properties initial valuepublic ThreadManagedMetaBeanProperty(Class declaringClass, String name, Class type, Closure initialValueCreator)
declaringClass - The class that declares the propertyname - The name of the propertytype - The type of the propertyinitialValueCreator - The closure responsible for creating the initial valuepublic Object getInitialValue()
public void setInitialValueCreator(Closure callable)
callable - The closure responsible for creating the initial valuepublic MetaMethod getGetter()
MetaBeanPropertygetGetter in class MetaBeanPropertypublic MetaMethod getSetter()
MetaBeanPropertygetSetter in class MetaBeanProperty