org.springframework.instrument.classloading.oc4j
Class OC4JClassPreprocessorAdapter
java.lang.Object
org.springframework.instrument.classloading.oc4j.OC4JClassPreprocessorAdapter
- All Implemented Interfaces:
- oracle.classloader.util.ClassPreprocessor
class OC4JClassPreprocessorAdapter
- extends Object
- implements oracle.classloader.util.ClassPreprocessor
ClassPreprocessor
adapter for OC4J, delegating to a standard
JDK ClassFileTransformer
underneath.
Many thanks to Mike Keith
for his assistance.
- Since:
- 2.0
- Author:
- Costin Leau
OC4JClassPreprocessorAdapter
public OC4JClassPreprocessorAdapter(ClassFileTransformer transformer)
- Creates a new instance of the
OC4JClassPreprocessorAdapter
class.
- Parameters:
transformer
- the ClassFileTransformer
to be adapted (must not be null
)
- Throws:
IllegalArgumentException
- if the supplied transformer
is null
initialize
public oracle.classloader.util.ClassPreprocessor initialize(ClassLoader loader)
- Specified by:
initialize
in interface oracle.classloader.util.ClassPreprocessor
processClass
public byte[] processClass(String className,
byte[] origClassBytes,
int offset,
int length,
ProtectionDomain pd,
ClassLoader loader)
- Specified by:
processClass
in interface oracle.classloader.util.ClassPreprocessor
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2006 The Spring Framework.