Groovy 2.2.1

groovy.lang
[Java] Class MetaClassRegistryChangeEvent

java.lang.Object
  java.util.EventObject
      groovy.lang.MetaClassRegistryChangeEvent

public class MetaClassRegistryChangeEvent
extends EventObject

An event used to propagate meta class updates

Authors:
Jochen Theodorou


Constructor Summary
MetaClassRegistryChangeEvent(Object source, Object instance, Class clazz, MetaClass oldMetaClass, MetaClass newMetaClass)

 
Method Summary
Class getClassToUpdate()

Object getInstance()

MetaClass getNewMetaClass()

MetaClass getOldMetaClass()

MetaClassRegistry getRegistry()

boolean isPerInstanceMetaClassChange()

 
Methods inherited from class EventObject
toString, getSource, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

MetaClassRegistryChangeEvent

public MetaClassRegistryChangeEvent(Object source, Object instance, Class clazz, MetaClass oldMetaClass, MetaClass newMetaClass)


 
Method Detail

getClassToUpdate

public Class getClassToUpdate()


getInstance

public Object getInstance()


getNewMetaClass

public MetaClass getNewMetaClass()


getOldMetaClass

public MetaClass getOldMetaClass()


getRegistry

public MetaClassRegistry getRegistry()


isPerInstanceMetaClassChange

public boolean isPerInstanceMetaClassChange()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.