com.uwyn.rife.instrument
Class RifeAgent

java.lang.Object
  extended by com.uwyn.rife.instrument.RifeAgent

public class RifeAgent
extends Object

The RIFE instrumentation agent will modify the bytecode of the classes that are loaded to provide new capabilities that are otherwise provided by the class-loader.

To activate the agent you need to execute the Java application with the proper argument, for example:

java -javaagent:/path/to/rife-agent-1.6-jdk15.jar com.your.mainClass

When the agent is active the class-loader will automatically be disabled to ensure that they are not conflicting with each other. The agent is packaged in its own jar file which should correspond to the RIFE version that you are using in your application.

Note that this agent doesn't entirely replace the functionality of the class-loader, during development mode you might want to make use of the automatic re-compilation of classes that is only provided by the class-loader. However, during production the agent is the recommended choice.

Since:
1.6
Version:
$Revision: 3811 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Field Summary
static String AGENT_ACTIVE_PROPERTY
           
 
Constructor Summary
RifeAgent()
           
 
Method Summary
static void premain(String agentArguments, Instrumentation instrumentation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AGENT_ACTIVE_PROPERTY

public static final String AGENT_ACTIVE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

RifeAgent

public RifeAgent()
Method Detail

premain

public static void premain(String agentArguments,
                           Instrumentation instrumentation)


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.