org.hibernate.service.jmx.internal
Class DisabledJmxServiceImpl
java.lang.Object
org.hibernate.service.jmx.internal.DisabledJmxServiceImpl
- All Implemented Interfaces:
- Serializable, JmxService, Service
public class DisabledJmxServiceImpl
- extends Object
- implements JmxService
A no-op version of the JmxService
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DisabledJmxServiceImpl INSTANCE
DisabledJmxServiceImpl
public DisabledJmxServiceImpl()
registerService
public void registerService(Manageable service,
Class serviceRole)
- Description copied from interface:
JmxService
- Handles registration of a manageable service.
- Specified by:
registerService
in interface JmxService
- Parameters:
service
- The manageable serviceserviceRole
- The service's role.
registerMBean
public void registerMBean(ObjectName objectName,
Object mBean)
- Description copied from interface:
JmxService
- Registers the given
mBean
under the given objectName
- Specified by:
registerMBean
in interface JmxService
- Parameters:
objectName
- The name under which to register the MBeanmBean
- The MBean to register
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.