Package org.smooks.management
Class DefaultInstrumentationAgent
- java.lang.Object
-
- org.smooks.management.DefaultInstrumentationAgent
-
- All Implemented Interfaces:
InstrumentationAgent
public class DefaultInstrumentationAgent extends Object implements InstrumentationAgent
-
-
Constructor Summary
Constructors Constructor Description DefaultInstrumentationAgent(boolean usePlatformMBeanServer, String mBeanServerDefaultDomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MBeanServer
createOrFindMBeanServer(boolean usePlatformMBeanServer, String mBeanServerDefaultDomain)
MBeanServer
getMBeanServer()
void
register(Object object, ObjectName objectName)
RequiredModelMBean
register(Object object, ObjectName objectName, ModelMBeanInfo modelMBeanInfo, boolean forceRegistration)
-
-
-
Constructor Detail
-
DefaultInstrumentationAgent
public DefaultInstrumentationAgent(boolean usePlatformMBeanServer, String mBeanServerDefaultDomain)
-
-
Method Detail
-
register
public void register(Object object, ObjectName objectName)
- Specified by:
register
in interfaceInstrumentationAgent
-
getMBeanServer
public MBeanServer getMBeanServer()
- Specified by:
getMBeanServer
in interfaceInstrumentationAgent
-
register
public RequiredModelMBean register(Object object, ObjectName objectName, ModelMBeanInfo modelMBeanInfo, boolean forceRegistration)
- Specified by:
register
in interfaceInstrumentationAgent
-
createOrFindMBeanServer
protected MBeanServer createOrFindMBeanServer(boolean usePlatformMBeanServer, String mBeanServerDefaultDomain)
-
-