Package org.hibernate.boot.registry
Interface StandardServiceInitiator<R extends Service>
- Type Parameters:
R
- The type of the service initiated.
- All Superinterfaces:
ServiceInitiator<R>
- All Known Implementing Classes:
ManagedBeanRegistryInitiator
Contract for an initiator of services that target the standard
ServiceRegistry
.-
Method Summary
Modifier and TypeMethodDescription@Nullable R
initiateService
(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Initiates the managed service.Methods inherited from interface org.hibernate.service.spi.ServiceInitiator
getServiceInitiated
-
Method Details
-
initiateService
@Nullable R initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry) Initiates the managed service.- Parameters:
configurationValues
- The configuration values in effectregistry
- The service registry. Can be used to locate services needed to fulfill initiation.- Returns:
- The initiated service.
-