Package groovy.lang

Class ExpandoMetaClassCreationHandle


public class ExpandoMetaClassCreationHandle
extends MetaClassRegistry.MetaClassCreationHandle

A handle for the MetaClassRegistry that changes all classes loaded into the Grails VM to use ExpandoMetaClass instances

The handle should be registered with the Groovy runtime before Groovy loads, for example in your main method. GroovySystem.metaClassRegistry.metaClassCreationHandle = new ExpandoMetaClassCreationHandle()

Since:
1.5
See Also:
MetaClassRegistry, MetaClassRegistry.MetaClassCreationHandle, MetaClassRegistryImpl.setMetaClassCreationHandle(groovy.lang.MetaClassRegistry.MetaClassCreationHandle)