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.
BootstrapServiceRegistryis the base service registry, intended to be built via
BootstrapServiceRegistryBuilderif you need customization. For non-customized
BootstrapServiceRegistrycan be bypassed altogether. Usually the next level in a standard registry set up is the
StandardServiceRegistry, intended to be built by the
StandardServiceRegistryBuilderif you need customization. The builder optionally takes the
BootstrapServiceRegistryto 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 BootstrapServiceRegistryProvides the most basic services needed. StandardServiceInitiator<R extends Service>Contract for an initiator of services that target the standard
StandardServiceRegistrySpecialization of the
ServiceRegistrycontract mainly for type safety.
Class Summary Class Description BootstrapServiceRegistryBuilderBuilder for
StandardServiceRegistryBuilderBuilder for standard