public class DisabledJmxServiceImpl extends java.lang.Object implements JmxService
JmxService
Modifier and Type | Field and Description |
---|---|
static DisabledJmxServiceImpl |
INSTANCE |
Constructor and Description |
---|
DisabledJmxServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
registerMBean(javax.management.ObjectName objectName,
java.lang.Object mBean)
Registers the given
mBean under the given objectName |
void |
registerService(Manageable service,
java.lang.Class serviceRole)
Handles registration of a manageable service.
|
public static final DisabledJmxServiceImpl INSTANCE
public void registerService(Manageable service, java.lang.Class serviceRole)
JmxService
registerService
in interface JmxService
service
- The manageable serviceserviceRole
- The service's role.public void registerMBean(javax.management.ObjectName objectName, java.lang.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 © 2001-2018 Red Hat, Inc. All Rights Reserved.