Top Description Methods
org.hibernate.jmx.spi

public Interface JmxService

extends Service
Known Direct Implementers
org.hibernate.jmx.internal.DisabledJmxServiceImpl, org.hibernate.jmx.internal.JmxServiceImpl
Annotations
@Deprecated
Imports
javax.management.ObjectName, org.hibernate.service.Service, org.hibernate.service.spi.Manageable

Deprecated

Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846

Service providing simplified access to JMX related features needed by Hibernate.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
registerMBean(ObjectName
The name under which to register the MBean
objectName
,
Object
The MBean to register
mBean
)

Registers the given mBean under the given objectName

public void
registerService(Manageable
The manageable service
service
,
Class<? extends Service>
The service's role.
serviceRole
)

Deprecated as a consequence of Manageable being deprecated.
Handles registration of a manageable service.

Method Detail

registerMBeanback to summary
public void registerMBean(ObjectName objectName, Object mBean)

Registers the given mBean under the given objectName

Parameters
objectName:ObjectName

The name under which to register the MBean

mBean:Object

The MBean to register

registerServiceback to summary
public void registerService(Manageable service, Class<? extends Service> serviceRole)

Deprecated

as a consequence of Manageable being deprecated. See corresponding docs for further information.

Handles registration of a manageable service.

Parameters
service:Manageable

The manageable service

serviceRole:Class<? extends Service>

The service's role.