Package java.lang.instrument


Package java.lang.instrument

Java 5.0

This package defines the API for instrumenting a Java VM by transforming class files to add profiling support, code coverage testing, or other features.

The -javaagent command-line option to the Java interpreter provides a hook for running the premain( ) method of a Java instrumentation agent . An Instrumentation object passed to the premain( ) method provides an entry point into this package, and methods of Instrumentation allow loaded classes to be redefined and ClassFileTransformer objects to be registered for classes not yet loaded.

Interfaces

 public interface  ClassFileTransformer  ; public interface  Instrumentation  ; 

Classes

 public final class  ClassDefinition  ; 

Exceptions

 public class  IllegalClassFormatException  extends Exception; public class  UnmodifiableClassException  extends Exception; 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net