Package com.alibaba.dcm.agent
Class DcmAgent
- java.lang.Object
-
- com.alibaba.dcm.agent.DcmAgent
-
public class DcmAgent extends Object
DCM agent.- Since:
- 1.4.0
- Author:
- Jerry Lee (oldratlee at gmail dot com)
- See Also:
Instrumentation
, The mechanism for instrumentation, JAR File Specification - JAR Manifest, Working with Manifest Files - The Java™ Tutorials
-
-
Constructor Summary
Constructors Constructor Description DcmAgent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
agentmain(String agentArgument)
Entrance method of DCM Java Agent when connecting to a running jvm.static List<String>
getActionList()
the action list for DCM agent.static void
premain(String agentArgument)
Entrance method of DCM Java Agent when used through a jvm command line option.
-
-
-
Method Detail
-
premain
public static void premain(@Nonnull String agentArgument) throws Exception
Entrance method of DCM Java Agent when used through a jvm command line option.- Throws:
Exception
-
agentmain
public static void agentmain(@Nonnull String agentArgument) throws Exception
Entrance method of DCM Java Agent when connecting to a running jvm.- Throws:
Exception
-
-