public interface MetaClassRegistry
MetaClass
Modifier and Type | Interface and Description |
---|---|
static class |
MetaClassRegistry.MetaClassCreationHandle
Class used as base for the creation of MetaClass implementations.
|
Modifier and Type | Method and Description |
---|---|
void |
addMetaClassRegistryChangeEventListener(MetaClassRegistryChangeEventListener listener)
adds a meta class change listener for constant meta classes
|
void |
addNonRemovableMetaClassRegistryChangeEventListener(MetaClassRegistryChangeEventListener listener)
adds a meta class change listener for constant meta classes.
|
MetaClass |
getMetaClass(java.lang.Class theClass) |
MetaClassRegistry.MetaClassCreationHandle |
getMetaClassCreationHandler()
Retrieves the MetaClassCreationHandle that is responsible for constructing MetaClass instances
|
MetaClassRegistryChangeEventListener[] |
getMetaClassRegistryChangeEventListeners()
Returns all registered class change listener for constant meta classes.
|
java.util.Iterator |
iterator()
gets a snapshot of the current constant meta classes and returns it as Iterator.
|
void |
removeMetaClass(java.lang.Class theClass)
Removes a cached MetaClass from the registry
|
void |
removeMetaClassRegistryChangeEventListener(MetaClassRegistryChangeEventListener listener)
removes a meta class change listener for constant meta classes
|
void |
setMetaClass(java.lang.Class theClass,
MetaClass theMetaClass) |
void |
setMetaClassCreationHandle(MetaClassRegistry.MetaClassCreationHandle handle)
Sets the MetaClassCreationHandle instance that is responsible for constructing instances
|
MetaClass getMetaClass(java.lang.Class theClass)
void setMetaClass(java.lang.Class theClass, MetaClass theMetaClass)
void removeMetaClass(java.lang.Class theClass)
theClass
- The Java class of the MetaClass to removeMetaClassRegistry.MetaClassCreationHandle getMetaClassCreationHandler()
void setMetaClassCreationHandle(MetaClassRegistry.MetaClassCreationHandle handle)
handle
- The handle instancevoid addMetaClassRegistryChangeEventListener(MetaClassRegistryChangeEventListener listener)
listener
- - the update listenervoid addNonRemovableMetaClassRegistryChangeEventListener(MetaClassRegistryChangeEventListener listener)
listener
- - the update listenervoid removeMetaClassRegistryChangeEventListener(MetaClassRegistryChangeEventListener listener)
listener
- - the update listenerMetaClassRegistryChangeEventListener[] getMetaClassRegistryChangeEventListeners()
java.util.Iterator iterator()