|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.common.extensibility.InstrumentationRuntimeFactory
@Deprecated public class InstrumentationRuntimeFactory
This class is based on the OpenJPA's org.apache.openjpa.enhance.InstrumentationFactory. It essentially does its best to install an instrumentation agent. The preferred or prescribed way to install an instrumentation agent is to add the agent as an argument on the command line when starting the JVM. This class attempts to do the same thing after the JVM has already started. Unfortunately, this is the only way we know of to attach an agent to the JVM except by adding a "javaagent:..." flag on the command line.
| Constructor Summary | |
|---|---|
InstrumentationRuntimeFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
agentmain(String agentArgs,
Instrumentation instrumentation)
Deprecated. This method is called by the JVM to set the instrumentation. |
static Instrumentation |
getInstrumentation()
Deprecated. This method returns the Instrumentation object provided by the JVM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentationRuntimeFactory()
| Method Detail |
|---|
public static void agentmain(String agentArgs,
Instrumentation instrumentation)
agentArgs - instrumentation - public static Instrumentation getInstrumentation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||