Package org.hibernate.service.spi
Interface SessionFactoryServiceInitiator<R extends Service>
- All Superinterfaces:
ServiceInitiator<R>
- All Known Implementing Classes:
CacheInitiator
,NativeQueryInterpreterInitiator
,StatisticsInitiator
Contract for an initiator of services that target the specialized service registry
SessionFactoryServiceRegistry
.-
Method Summary
Modifier and TypeMethodDescriptionInitiates the managed service.Methods inherited from interface org.hibernate.service.spi.ServiceInitiator
getServiceInitiated
-
Method Details
-
initiateService
Initiates the managed service.Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete
- Parameters:
context
- Access to initialization contextual info- Returns:
- The initiated service.
-