Package org.hibernate.jmx.spi
Interface JmxService
-
- All Superinterfaces:
java.io.Serializable
,Service
@Deprecated public interface JmxService extends Service
Deprecated.Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846Service providing simplified access to JMX related features needed by Hibernate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
registerMBean(javax.management.ObjectName objectName, java.lang.Object mBean)
Deprecated.Registers the givenmBean
under the givenobjectName
void
registerService(Manageable service, java.lang.Class<? extends Service> serviceRole)
Deprecated.Handles registration of a manageable service.
-
-
-
Method Detail
-
registerService
void registerService(Manageable service, java.lang.Class<? extends Service> serviceRole)
Deprecated.Handles registration of a manageable service.- Parameters:
service
- The manageable serviceserviceRole
- The service's role.
-
registerMBean
void registerMBean(javax.management.ObjectName objectName, java.lang.Object mBean)
Deprecated.Registers the givenmBean
under the givenobjectName
- Parameters:
objectName
- The name under which to register the MBeanmBean
- The MBean to register
-
-