Package org.hibernate.service.spi
Interface ServiceInitiator<R extends Service>
- All Known Subinterfaces:
SessionFactoryServiceInitiator<R>
,StandardServiceInitiator<R>
- All Known Implementing Classes:
CacheInitiator
,ManagedBeanRegistryInitiator
,NativeQueryInterpreterInitiator
public interface ServiceInitiator<R extends Service>
Base contract for an initiator of a service.
-
Method Summary
Modifier and TypeMethodDescriptionObtains the service role initiated by this initiator.
-
Method Details
-
getServiceInitiated
Obtains the service role initiated by this initiator. Should be unique within a registry- Returns:
- The service role.
-