Top Description Interfaces Classes
[default module]

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. org.hibernate.boot.registry.BootstrapServiceRegistry is the base service registry, intended to be built via org.hibernate.boot.registry.BootstrapServiceRegistryBuilder if you need customization. For non-customized org.hibernate.boot.registry.BootstrapServiceRegistry usage, the org.hibernate.boot.registry.BootstrapServiceRegistryBuilder and org.hibernate.boot.registry.BootstrapServiceRegistry can be bypassed altogether. Usually the next level in a standard registry set up is the org.hibernate.boot.registry.StandardServiceRegistry, intended to be built by the org.hibernate.boot.registry.StandardServiceRegistryBuilder if you need customization. The builder optionally takes the org.hibernate.boot.registry.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

Modifier and TypeInterface and Description
public interface
BootstrapServiceRegistry

Provides the most basic services needed.

public interface
StandardServiceInitiator<
The type of the service initiated.
R extends Service
>

Contract for an initiator of services that target the standard org.hibernate.service.ServiceRegistry.

public interface
StandardServiceRegistry

Specialization of the org.hibernate.service.ServiceRegistry contract mainly for type safety.

Class Summary

Modifier and TypeClass and Description
public class
public class