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

public Class JmxServiceInitiator

extends Object
implements StandardServiceInitiator<JmxService>
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.service.spi.ServiceInitiator
Imports
java.util.Map, org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.cfg.AvailableSettings, org.hibernate.internal.log.DeprecationLogger, org.hibernate.internal.util.config.ConfigurationHelper, org.hibernate.jmx.spi.JmxService, org.hibernate.service.spi.ServiceRegistryImplementor

Standard initiator for the standard JmxService service
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final JmxServiceInitiator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<JmxService>
getServiceInitiated()

Implements org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Obtains the service role initiated by this initiator.
public JmxService
initiateService(Map<K, V>
The configuration values in effect
configurationValues
,
ServiceRegistryImplementor
The service registry. Can be used to locate services needed to fulfill initiation.
registry
)

Implements org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Deprecated as a consequence of JmxService being deprecated.
Initiates the managed service.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final JmxServiceInitiator INSTANCE

Constructor Detail

JmxServiceInitiatorback to summary
public JmxServiceInitiator()

Method Detail

getServiceInitiatedback to summary
public Class<JmxService> getServiceInitiated()

Implements org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Doc from org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Obtains the service role initiated by this initiator. Should be unique within a registry

Returns:Class<JmxService>

The service role.

Annotations
@Override
initiateServiceback to summary
public JmxService initiateService(Map<K, V> configurationValues, ServiceRegistryImplementor registry)

Implements org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Doc from org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Deprecated

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

Initiates the managed service.

Parameters
configurationValues:Map<K, V>

The configuration values in effect

registry:ServiceRegistryImplementor

The service registry. Can be used to locate services needed to fulfill initiation.

Returns:JmxService

The initiated service.

Annotations
@Override