protected void fireConstantMetaClassUpdate ( Object obj , Class c , final MetaClass oldMC , MetaClass newMc ) { MetaClassRegistryChangeEventListener [ ] listener = getMetaClassRegistryChangeEventListeners ( ) ; MetaClassRegistryChangeEvent cmcu = new MetaClassRegistryChangeEvent ( this , obj , c , oldMC , newMc ) ; for ( int i = 0 ; i < listener . length ; i ++ ) { listener [ i ] . updateConstantMetaClass ( cmcu ) ; } }
Causes the execution of all registered listeners . This method is used mostly internal to kick of the listener notification . It can also be used by subclasses to achieve the same .