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