Package groovy.lang
Interface MetaClassRegistryChangeEventListener
- All Superinterfaces:
EventListener
A listener called whenever a constant MetaClass is set, removed or replaced.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the constant MetaClass is updated.
-
Method Details
-
updateConstantMetaClass
Called when the 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
- - the change event
-