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()
Stoppablepublic void registerService(Manageable service, Class<? extends Service> serviceRole)
JmxServiceregisterService in interface JmxServiceservice - The manageable serviceserviceRole - The service's role.public void registerMBean(ObjectName objectName, Object mBean)
JmxServicemBean under the given objectNameregisterMBean in interface JmxServiceobjectName - The name under which to register the MBeanmBean - The MBean to registerCopyright © 2018 JBoss by Red Hat. All rights reserved.