public class MetaClassRegistryImpl extends Object
A registry of MetaClass instances which caches introspection & reflection information and allows methods to be dynamically added to existing classes at runtime
| Modifiers | Name | Description |
|---|---|---|
static int |
DONT_LOAD_DEFAULT |
|
static int |
LOAD_DEFAULT |
|
static String |
MODULE_META_INF_FILE |
@deprecated Use instead |
| Constructor and description |
|---|
MetaClassRegistryImpl
() |
MetaClassRegistryImpl
(int loadDefault) |
MetaClassRegistryImpl
(boolean useAccessible)@param useAccessible defines whether or not the AccessibleObject.setAccessible method will be called to enable access to all methods when using reflection |
MetaClassRegistryImpl
(int loadDefault, boolean useAccessible) |
useAccessible - defines whether or not the AccessibleObject.setAccessible
method will be called to enable access to all methods when using reflectionAdds a listener for constant meta classes.
listener - the listenerAdds a listener for constant meta classes. This listener cannot be removed!
listener - the listenerSingleton of MetaClassRegistry.
Gets an array of of all registered ConstantMetaClassListener instances.
Copyright © 2003-2014 The Codehaus. All rights reserved.