com.uwyn.rife.instrument
Class LazyLoadTransformer
java.lang.Object
com.uwyn.rife.instrument.RifeTransformer
com.uwyn.rife.instrument.LazyLoadTransformer
- All Implemented Interfaces:
- ClassFileTransformer
public class LazyLoadTransformer
- extends RifeTransformer
This is a bytecode transformer that will modify classes so that they
receive the functionalities that are required to support lazy-loading
of relationships when the GenericQueryManager is being used.
- Since:
- 1.6
- Version:
- $Revision: 3811 $
- Author:
- Geert Bevin (gbevin[remove] at uwyn dot com)
|
Method Summary |
protected byte[] |
transformRife(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
This transform method will only be called when the class is not part of
a core package. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyLoadTransformer
public LazyLoadTransformer()
transformRife
protected byte[] transformRife(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
throws IllegalClassFormatException
- Description copied from class:
RifeTransformer
- This transform method will only be called when the class is not part of
a core package.
For the rest it functions exactly as the regular
transform method.
- Specified by:
transformRife in class RifeTransformer
- Throws:
IllegalClassFormatException- See Also:
RifeTransformer.transform(java.lang.ClassLoader, java.lang.String, java.lang.Class>, java.security.ProtectionDomain, byte[])
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.