Package org.hibernate.service.spi
package org.hibernate.service.spi
Defines an SPI for integrating pluggable services.
-
ClassDescriptionAllows the service to request access to the configuration properties for configuring itself.Annotation to allow services to request injection of other services.ServiceBinding<R extends Service>Models a binding for a particular service.Contract for contributing services.Indicates a problem with a service.ServiceInitiator<R extends Service>Base contract for an initiator of a service.Allows services to be injected with the
ServiceRegistryduring configuration phase.Additional integration contracts for a service registry.SessionFactoryServiceInitiator<R extends Service>Contract for an initiator of services that target the specialized service registrySessionFactoryServiceRegistry.SpecializedServiceRegistryimplementation that holds services which need access to theSessionFactoryduring initialization.Contract for builder ofSessionFactoryServiceRegistryinstances.Lifecycle contract for services which wish to be notified when it is time to start.Lifecycle contract for services which wish to be notified when it is time to stop.Optional contract for services that wrap stuff that to which it is useful to have access.