Top Description Fields Constructors Methods
org.hibernate.jmx.internal

public Class DisabledJmxServiceImpl

extends Object
implements JmxService
Class Inheritance
All Implemented Interfaces
org.hibernate.jmx.spi.JmxService, org.hibernate.service.Service, java.io.Serializable
Imports
javax.management.ObjectName, org.hibernate.jmx.spi.JmxService, org.hibernate.service.spi.Manageable

Deprecated

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

A no-op version of the JmxService
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final DisabledJmxServiceImpl
INSTANCE

Deprecated as a consequence of DisabledJmxServiceImpl being deprecated.

Constructor Summary

AccessConstructor and Description
public

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
)

Implements org.hibernate.jmx.spi.JmxService.registerMBean.

Registers the given mBean under the given objectName
public void
registerService(Manageable
The manageable service
service
,
Class<T>
The service's role.
serviceRole
)

Implements org.hibernate.jmx.spi.JmxService.registerService.

Deprecated as a consequence of Manageable being deprecated.
Handles registration of a manageable service.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final DisabledJmxServiceImpl INSTANCE

Deprecated

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

Constructor Detail

DisabledJmxServiceImplback to summary
public DisabledJmxServiceImpl()

Method Detail

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

Implements org.hibernate.jmx.spi.JmxService.registerMBean.

Doc from org.hibernate.jmx.spi.JmxService.registerMBean.

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

Annotations
@Override
registerServiceback to summary
public void registerService(Manageable service, Class<T> serviceRole)

Implements org.hibernate.jmx.spi.JmxService.registerService.

Doc from org.hibernate.jmx.spi.JmxService.registerService.

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<T>

The service's role.

Annotations
@Override