Save This Page
Home » openjdk-7 » sun » instrument » [javadoc | source]
sun.instrument
public class: TransformerManager [javadoc | source]
java.lang.Object
   sun.instrument.TransformerManager
Support class for the InstrumentationImpl. Manages the list of registered transformers. Keeps everything in the right order, deals with sync of the list, and actually does the calling of the transformers.
Constructor:
 TransformerManager(boolean isRetransformable) 
Method from sun.instrument.TransformerManager Summary:
addTransformer,   getNativeMethodPrefixes,   getTransformerCount,   includesTransformer,   isRetransformable,   removeTransformer,   setNativeMethodPrefix,   transform
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.instrument.TransformerManager Detail:
 public synchronized  void addTransformer(ClassFileTransformer transformer) 
 String[] getNativeMethodPrefixes() 
 int getTransformerCount() 
 synchronized boolean includesTransformer(ClassFileTransformer transformer) 
 boolean isRetransformable() 
 public synchronized boolean removeTransformer(ClassFileTransformer transformer) 
 boolean setNativeMethodPrefix(ClassFileTransformer transformer,
    String prefix) 
 public byte[] transform(ClassLoader loader,
    String classname,
    Class classBeingRedefined,
    ProtectionDomain protectionDomain,
    byte[] classfileBuffer)