org.datanucleus.enhancer
Class RuntimeEnhancer

java.lang.Object
  extended by org.datanucleus.enhancer.RuntimeEnhancer

public class RuntimeEnhancer
extends java.lang.Object

Class that will enhance a class at runtime called via the ClassTransformer.


Nested Class Summary
 class RuntimeEnhancer.EnhancerClassLoader
          This classloader is used to load any classes that are necessary during enhancement process, and avoid using application classloaders to load classes
 
Field Summary
protected static org.datanucleus.util.Localiser LOCALISER
          Message resource
 
Constructor Summary
RuntimeEnhancer()
           
RuntimeEnhancer(org.datanucleus.PersistenceConfiguration config)
           
 
Method Summary
 byte[] enhance(java.lang.String className, byte[] classdefinition, java.lang.ClassLoader loader)
           
 void setApi(java.lang.String api)
           
 void setEnhancerName(java.lang.String enhancerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static org.datanucleus.util.Localiser LOCALISER
Message resource

Constructor Detail

RuntimeEnhancer

public RuntimeEnhancer(org.datanucleus.PersistenceConfiguration config)

RuntimeEnhancer

public RuntimeEnhancer()
Method Detail

enhance

public byte[] enhance(java.lang.String className,
                      byte[] classdefinition,
                      java.lang.ClassLoader loader)

setApi

public void setApi(java.lang.String api)

setEnhancerName

public void setEnhancerName(java.lang.String enhancerName)


Copyright © 2009. All Rights Reserved.