public class JmxServiceImpl extends Object implements JmxService, Stoppable
Modifier and Type | Field and Description |
---|---|
static String |
OBJ_NAME_TEMPLATE |
Constructor and Description |
---|
JmxServiceImpl(Map configValues) |
Modifier and Type | Method and Description |
---|---|
void |
registerMBean(ObjectName objectName,
Object mBean)
Registers the given
mBean under the given objectName |
void |
registerService(Manageable service,
Class<? extends Service> serviceRole)
Handles registration of a manageable service.
|
void |
stop()
Stop phase notification
|
public static final String OBJ_NAME_TEMPLATE
public JmxServiceImpl(Map configValues)
public void stop()
Stoppable
public void registerService(Manageable service, Class<? extends Service> serviceRole)
JmxService
registerService
in interface JmxService
service
- The manageable serviceserviceRole
- The service's role.public void registerMBean(ObjectName objectName, Object mBean)
JmxService
mBean
under the given objectName
registerMBean
in interface JmxService
objectName
- The name under which to register the MBeanmBean
- The MBean to registerCopyright © 2017 JBoss by Red Hat. All rights reserved.