| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | ThreadManagedMetaBeanProperty.ThreadBoundGetter
Accesses the ThreadBound state of the property as a getter |
| private class | ThreadManagedMetaBeanProperty.ThreadBoundSetter
Sets the ThreadBound state of the property like a setter |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final ThreadManagedMetaBeanProperty. | |
| private Object | |
| private Closure | |
| private final ManagedConcurrentMap | |
| private static final ConcurrentHashMap | |
| private final ThreadManagedMetaBeanProperty. | |
| private static final ReferenceBundle |
| Access | Constructor and Description |
|---|---|
| public | ThreadManagedMetaBeanProperty(Class<T>
The class that declares the property declaringClass, String The name of the property name, Class<T> The type of the property type, Object The properties initial value iv)Constructs a new ThreadManagedBeanProperty for the given arguments |
| public | ThreadManagedMetaBeanProperty(Class<T>
The class that declares the property declaringClass, String The name of the property name, Class<T> The type of the property type, Closure<V> The closure responsible for creating the initial value initialValueCreator)Constructs a new ThreadManagedBeanProperty for the given arguments |
| Modifier and Type | Method and Description |
|---|---|
| public MetaMethod | |
| public synchronized Object | |
| public synchronized Object | |
| private static ManagedConcurrentMap | |
| public MetaMethod | |
| public void | setInitialValueCreator(Closure<V>
The closure responsible for creating the initial value callable)Closure responsible for creating the initial value of thread-managed bean properties |
| declaringClass | back to summary |
|---|---|
| private final Class<T> declaringClass | |
| getter | back to summary |
|---|---|
| private final ThreadManagedMetaBeanProperty. | |
| initialValue | back to summary |
|---|---|
| private Object initialValue | |
| initialValueCreator | back to summary |
|---|---|
| private Closure<V> initialValueCreator | |
| instance2Prop | back to summary |
|---|---|
| private final ManagedConcurrentMap<K, V> instance2Prop | |
| PROPNAME_TO_MAP | back to summary |
|---|---|
| private static final ConcurrentHashMap<String, ManagedConcurrentMap<K, V>> PROPNAME_TO_MAP | |
| setter | back to summary |
|---|---|
| private final ThreadManagedMetaBeanProperty. | |
| SOFT_BUNDLE | back to summary |
|---|---|
| private static final ReferenceBundle SOFT_BUNDLE | |
| ThreadManagedMetaBeanProperty | back to summary |
|---|---|
| public ThreadManagedMetaBeanProperty(Class<T> declaringClass, String name, Class<T> type, Object iv) Constructs a new ThreadManagedBeanProperty for the given arguments | |
| ThreadManagedMetaBeanProperty | back to summary |
|---|---|
| public ThreadManagedMetaBeanProperty(Class<T> declaringClass, String name, Class<T> type, Closure<V> initialValueCreator) Constructs a new ThreadManagedBeanProperty for the given arguments | |
| getGetter | back to summary |
|---|---|
| public MetaMethod getGetter() Overrides groovy. Doc from groovy. Get the getter method.
| |
| getInitialValue | back to summary |
|---|---|
| public synchronized Object getInitialValue() Retrieves the initial value of the ThreadBound property
| |
| getInitialValue | back to summary |
|---|---|
| public synchronized Object getInitialValue(Object object) | |
| getInstance2PropName | back to summary |
|---|---|
| private static ManagedConcurrentMap | |
| getSetter | back to summary |
|---|---|
| public MetaMethod getSetter() Overrides groovy. Doc from groovy. Get the setter method.
| |
| setInitialValueCreator | back to summary |
|---|---|
| public void setInitialValueCreator(Closure<V> callable) Closure responsible for creating the initial value of thread-managed bean properties
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CachedClass | getDeclaringClass()
Implements abstract groovy. |
| public int | getModifiers()
Implements abstract groovy. |
| public String | getName()
Implements abstract groovy. |
| public Class | getReturnType()
Implements abstract groovy. |
| public Object | invoke(Object
The object this method should be invoked on object, Object[] The arguments for the method if applicable arguments)Implements abstract groovy. |
| name | back to summary |
|---|---|
| private final String name | |
| ThreadBoundGetter | back to summary |
|---|---|
| public ThreadBoundGetter(String name) | |
| getDeclaringClass | back to summary |
|---|---|
| public CachedClass getDeclaringClass() Implements abstract groovy. Doc from groovy. Gets the class where this method is declared
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract groovy. Doc from groovy. Returns the modifiers for this method
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract groovy. Doc from groovy. Returns the name of the method represented by this class
| |
| getReturnType | back to summary |
|---|---|
| public Class Implements abstract groovy. Doc from groovy. Access the return type for this method
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object object, Object[] arguments) Implements abstract groovy. Doc from groovy. Invoke this method | |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CachedClass | getDeclaringClass()
Implements abstract groovy. |
| public int | getModifiers()
Implements abstract groovy. |
| public String | getName()
Implements abstract groovy. |
| public Class | getReturnType()
Implements abstract groovy. |
| public Object | invoke(Object
The object this method should be invoked on object, Object[] The arguments for the method if applicable arguments)Implements abstract groovy. |
| name | back to summary |
|---|---|
| private final String name | |
| ThreadBoundSetter | back to summary |
|---|---|
| public ThreadBoundSetter(String name) | |
| getDeclaringClass | back to summary |
|---|---|
| public CachedClass getDeclaringClass() Implements abstract groovy. Doc from groovy. Gets the class where this method is declared
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract groovy. Doc from groovy. Returns the modifiers for this method
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract groovy. Doc from groovy. Returns the name of the method represented by this class
| |
| getReturnType | back to summary |
|---|---|
| public Class Implements abstract groovy. Doc from groovy. Access the return type for this method
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object object, Object[] arguments) Implements abstract groovy. Doc from groovy. Invoke this method | |