org.datanucleus.enhancer.asm
Class ASMImplementationCreator

java.lang.Object
  extended by org.datanucleus.enhancer.AbstractImplementationCreator
      extended by org.datanucleus.enhancer.asm.ASMImplementationCreator
All Implemented Interfaces:
java.io.Serializable, org.datanucleus.ImplementationCreator

public class ASMImplementationCreator
extends AbstractImplementationCreator
implements java.io.Serializable

Creator of persistable objects using the ASM bytecode manipulation library.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.datanucleus.enhancer.AbstractImplementationCreator
loader, LOCALISER, metaDataMgr
 
Constructor Summary
ASMImplementationCreator(org.datanucleus.metadata.MetaDataManager mmgr)
           
 
Method Summary
protected  AbstractImplementationGenerator getGenerator(org.datanucleus.metadata.AbstractClassMetaData acmd, java.lang.String implClassName)
          Method to return the generator for the implementation.
 
Methods inherited from class org.datanucleus.enhancer.AbstractImplementationCreator
getClassLoader, newInstance, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASMImplementationCreator

public ASMImplementationCreator(org.datanucleus.metadata.MetaDataManager mmgr)
Method Detail

getGenerator

protected AbstractImplementationGenerator getGenerator(org.datanucleus.metadata.AbstractClassMetaData acmd,
                                                       java.lang.String implClassName)
Method to return the generator for the implementation.

Specified by:
getGenerator in class AbstractImplementationCreator
Parameters:
acmd - MetaData for the interface or abstract class
implClassName - Name of the implementation class to create
Returns:
The implementation generator


Copyright © 2011. All Rights Reserved.