English | Site Directory

Android - An Open Handset Alliance Project

package

java.lang.instrument

Classes | Description

Provides classes and interfaces needed for instrumenting applications. more...

Interfaces

ClassFileTransformer This interface must be implemented by types used to instrument classes as they are loaded by a running VM. 
Instrumentation Instances of this interface may be used by Java instrumentation agent code for support in carrying out the runtime instrumentation of classes. 

Classes

ClassDefinition Wraps a Class that is to be redefined together with the byte array which constitutes the updated version of the class. 

Exceptions

IllegalClassFormatException This exception may be thrown from implementations of the method transform(ClassLoader, String, Class, ProtectionDomain, byte[]) when the class file bytes supplied to it are found to be corrupted or otherwise in a format which does not adhere to the expected Java class file format. 
UnmodifiableClassException This exception may be thrown from implementations of the method redefineClasses(ClassDefinition[]) when one of the desired class redefinition operations cannot be carried out. 
Build m5-rc15f - 23 Apr 2008 12:29