Package kilim.tools
Class Agent
java.lang.Object
kilim.tools.Agent
- All Implemented Interfaces:
ClassFileTransformer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpremain(String agentArgs, Instrumentation inst) byte[]transform(ClassLoader loader, String name, Class klass, ProtectionDomain protectionDomain, byte[] bytes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Field Details
-
map
-
-
Constructor Details
-
Agent
public Agent()
-
-
Method Details
-
transform
public byte[] transform(ClassLoader loader, String name, Class klass, ProtectionDomain protectionDomain, byte[] bytes) throws IllegalClassFormatException - Specified by:
transformin interfaceClassFileTransformer- Throws:
IllegalClassFormatException
-
premain
-