Package org.hibernate.service.spi
Interface ServiceInitiator<R extends Service>
-
- All Known Subinterfaces:
SessionFactoryServiceInitiator<R>
,StandardServiceInitiator<R>
- All Known Implementing Classes:
CacheInitiator
,CustomJtaPlatformInitiator
,CustomRegionFactoryInitiator
,ImportSqlCommandExtractorInitiator
,org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator
,ManagedBeanRegistryInitiator
,NativeQueryInterpreterInitiator
,org.hibernate.cache.internal.RegionFactoryInitiator
public interface ServiceInitiator<R extends Service>
Base contract for an initiator of a service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<R>
getServiceInitiated()
Obtains the service role initiated by this initiator.
-
-
-
Method Detail
-
getServiceInitiated
java.lang.Class<R> getServiceInitiated()
Obtains the service role initiated by this initiator. Should be unique within a registry- Returns:
- The service role.
-
-