Package org.hibernate.boot.registry
Defines service registry contracts application are likely to want to utilize for
configuring Hibernate behavior.
Service registries are designed to be hierarchical. This works in 2 fashions. First registries can "hide" or
"override" services from parent registries. It also allows granular building of registries as services
become available.
BootstrapServiceRegistry is the base service registry, intended to be built via
BootstrapServiceRegistryBuilder if you need customization. For non-customized
BootstrapServiceRegistry usage, the BootstrapServiceRegistryBuilder and
BootstrapServiceRegistry can be bypassed altogether.
Usually the next level in a standard registry set up is the StandardServiceRegistry, intended to be built
by the StandardServiceRegistryBuilder if you need customization. The builder optionally takes the
BootstrapServiceRegistry to use as a base; if none is provided a default one is generated assuming sensible
defaults in Java SE and EE environments, particularly in respect to Class loading.-
Interface Summary Interface Description BootstrapServiceRegistry Provides the most basic services needed.StandardServiceInitiator<R extends Service> Contract for an initiator of services that target the standardServiceRegistry.StandardServiceRegistry Specialization of theServiceRegistrycontract mainly for type safety. -
Class Summary Class Description BootstrapServiceRegistryBuilder Builder forBootstrapServiceRegistryinstances.StandardServiceRegistryBuilder Builder for standardServiceRegistryinstances.