org.hibernate.service.jmx.internal
Class JmxServiceImpl
java.lang.Object
org.hibernate.service.jmx.internal.JmxServiceImpl
- All Implemented Interfaces:
- Serializable, JmxService, Service, Stoppable
public class JmxServiceImpl
- extends Object
- implements JmxService, Stoppable
Standard implementation of JMX services
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJ_NAME_TEMPLATE
public static final String OBJ_NAME_TEMPLATE
- See Also:
- Constant Field Values
JmxServiceImpl
public JmxServiceImpl(Map configValues)
stop
public void stop()
- Description copied from interface:
Stoppable
- Stop phase notification
- Specified by:
stop
in interface Stoppable
registerService
public void registerService(Manageable service,
Class<? extends Service> 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.