Package org.jacoco.agent.rt.internal
Class JmxRegistration
- java.lang.Object
-
- org.jacoco.agent.rt.internal.JmxRegistration
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Void>
class JmxRegistration extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Void>
Access to JMX APIs are encapsulated in this class to allow the JaCoCo runtime on platforms without JMX support (e.g Android).
-
-
Constructor Summary
Constructors Constructor Description JmxRegistration(IAgent agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Void
call()
De-register the agent again.
-
-
-
Field Detail
-
JMX_NAME
private static final java.lang.String JMX_NAME
- See Also:
- Constant Field Values
-
server
private final javax.management.MBeanServer server
-
name
private final javax.management.ObjectName name
-
-
Constructor Detail
-
JmxRegistration
JmxRegistration(IAgent agent) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-