Top Description Methods
groovy.lang

public Interface MetaClassRegistryChangeEventListener

extends EventListener
Imports
java.util.EventListener

A listener called whenever a constant MetaClass is set, removed or replaced.
See Also
groovy.lang.MetaClassRegistry, groovy.lang.MetaClassRegistryChangeEvent

Method Summary

Modifier and TypeMethod and Description
public void
updateConstantMetaClass(MetaClassRegistryChangeEvent
- the change event
cmcu
)

Called when the a constant MetaClass is updated.

Method Detail

updateConstantMetaClassback to summary
public void updateConstantMetaClass(MetaClassRegistryChangeEvent cmcu)

Called when the a constant MetaClass is updated. If the new MetaClass is null, then the MetaClass is removed. Be careful, while this method is executed other updates may happen. If you want this method thread safe, you have to take care of that by yourself.

Parameters
cmcu:MetaClassRegistryChangeEvent

- the change event