Uses of Package java.lang.instrument (Java 2 Platform SE 5.0) (original) (raw)

Classes in java.lang.instrument used by java.lang.instrument

ClassDefinition
This class serves as a parameter block to the Instrumentation.redefineClasses method.

ClassFileTransformer
An agent provides an implementation of this interface in order to transform class files.

IllegalClassFormatException
Thrown by an implementation of[ClassFileTransformer.transform](../../../java/lang/instrument/ClassFileTransformer.html#transform%28java.lang.ClassLoader, java.lang.String, java.lang.Class, java.security.ProtectionDomain, byte[]%29) when its input parameters are invalid.

UnmodifiableClassException
Thrown by an implementation ofInstrumentation.redefineClasses when one of the specified classes cannot be modified.