Top Fields Constructors Methods
org.hibernate.stat.internal

public Class StatisticsInitiator

extends Object
implements SessionFactoryServiceInitiator<StatisticsImplementor>
Class Inheritance
All Implemented Interfaces
org.hibernate.service.spi.SessionFactoryServiceInitiator, org.hibernate.service.spi.ServiceInitiator
Imports
org.hibernate.HibernateException, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.engine.config.spi.ConfigurationService, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.CoreMessageLogger, org.hibernate.internal.util.NullnessUtil, org.hibernate.service.spi.ServiceRegistryImplementor, .SessionFactoryServiceInitiator, .SessionFactoryServiceInitiatorContext, org.hibernate.stat.spi.StatisticsFactory, .StatisticsImplementor, org.jboss.logging.Logger, org.checkerframework.checker.nullness.qual.Nullable

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final StatisticsInitiator
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Obtains the service role initiated by this initiator.
public StatisticsImplementor
initiateService(SessionFactoryServiceInitiatorContext
Access to initialization contextual info
context
)

Implements org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Initiates the managed service.
private StatisticsImplementor
initiateServiceInternal(SessionFactoryImplementor sessionFactory, @Nullable Object configValue, ServiceRegistryImplementor registry)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final StatisticsInitiator INSTANCE
LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

StatisticsInitiatorback to summary
public StatisticsInitiator()

Method Detail

getServiceInitiatedback to summary
public Class<StatisticsImplementor> 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<StatisticsImplementor>

The service role.

Annotations
@Override
initiateServiceback to summary
public StatisticsImplementor initiateService(SessionFactoryServiceInitiatorContext context)

Implements org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Doc from org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Initiates the managed service.

Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete

Parameters
context:SessionFactoryServiceInitiatorContext

Access to initialization contextual info

Returns:StatisticsImplementor

The initiated service.

Annotations
@Override
initiateServiceInternalback to summary
private StatisticsImplementor initiateServiceInternal(SessionFactoryImplementor sessionFactory, @Nullable Object configValue, ServiceRegistryImplementor registry)

Deprecated

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