Class ContinuationsAgent

java.lang.Object
rife.continuations.instrument.ContinuationsAgent

public class ContinuationsAgent extends Object
Provides a continuations instrumentation agent that will modify the bytecode of the classes that are loaded. It enhances the classes with continuations capabilities that are otherwise provided by a class-loader.

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

java -javaagent:/path/to/rife2-[version]-agent-continuations.jar=com.your.ContinuationConfigInstrumentClass com.your.mainClass

When the agent is active the BasicContinuableClassLoader 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 RIFE2 version that you are using in your application.

It is possible to debug the bytecode instrumentation by using the functionalities provided by the InitialTransformer and FinalTransformer transformers that are included in this agent.

Since:
1.0
  • Field Details

  • Constructor Details

    • ContinuationsAgent

      public ContinuationsAgent()
  • Method Details