Package org.hibernate.service.spi
Defines an SPI for integrating pluggable services.
-
Interface Summary Interface Description Configurable Allows the service to request access to the configuration properties for configuring itself.ServiceBinding.ServiceLifecycleOwner ServiceContributor Contract for contributing services.ServiceInitiator<R extends Service> Base contract for an initiator of a service.ServiceRegistryAwareService Allows services to be injected with theServiceRegistry
during configuration phase.ServiceRegistryImplementor Additional integration contracts for a service registry.SessionFactoryServiceContributor SessionFactoryServiceInitiator<R extends Service> Contract for an initiator of services that target the specialized service registrySessionFactoryServiceRegistry
.SessionFactoryServiceInitiatorContext SessionFactoryServiceRegistry SpecializedServiceRegistry
implementation that holds services which need access to theSessionFactory
during initialization.SessionFactoryServiceRegistryBuilder SessionFactoryServiceRegistryFactory Contract for builder ofSessionFactoryServiceRegistry
instances.Startable Lifecycle contract for services which wish to be notified when it is time to start.Stoppable Lifecycle contract for services which wish to be notified when it is time to stop.Wrapped Optional contract for services that wrap stuff that to which it is useful to have access. -
Class Summary Class Description ServiceBinding<R extends Service> Models a binding for a particular service. -
Exception Summary Exception Description ServiceException Indicates a problem with a service. -
Annotation Types Summary Annotation Type Description InjectService Annotation to allow services to request injection of other services.