org.multiverse.javaagent
Class MultiverseJavaAgent

java.lang.Object
  extended by org.multiverse.javaagent.MultiverseJavaAgent
All Implemented Interfaces:
org.multiverse.MultiverseConstants

public final class MultiverseJavaAgent
extends java.lang.Object
implements org.multiverse.MultiverseConstants

The MultiverseJavaAgent is responsible for transforming classes when they are loaded using the javaagent technology.

This agent is a general purpose agent that can be used for different STM implementation. And can be configured through System.properties. properties: org.multiverse.javaagent.instrumentor=org.multiverse.stms.alpha.instrumentation.Instrumentor org.multiverse.javaagent.dumpBytecode=true/false org.multiverse.javaagent.verbose=true/false org.multiverse.javaagent.dumpDirectory=directory for dumping classfiles (defaults to the tmp dir) org.multiverse.javaagent.include=pattern of classes to include, seperated by ; or , or : , defaults to everything being included org.multiverse.javaagent.exclude=pattern of classes to exclude, seperated by ; or , or :

Author:
Peter Veentjer

Field Summary
static java.lang.String KEY
           
 
Fields inherited from interface org.multiverse.MultiverseConstants
___BUGSHAKER_ENABLED, ___TRACING_ENABLED
 
Constructor Summary
MultiverseJavaAgent()
           
 
Method Summary
static void premain(java.lang.String agentArgs, java.lang.instrument.Instrumentation inst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values
Constructor Detail

MultiverseJavaAgent

public MultiverseJavaAgent()
Method Detail

premain

public static void premain(java.lang.String agentArgs,
                           java.lang.instrument.Instrumentation inst)
                    throws java.lang.instrument.UnmodifiableClassException
Throws:
java.lang.instrument.UnmodifiableClassException


Copyright © 2008-2010 Multiverse. All Rights Reserved.