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.
| Modifier and Type | Interface 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 |
| public interface | StandardServiceRegistry
Specialization of the |
| Modifier and Type | Class and Description |
|---|---|
| public class | BootstrapServiceRegistryBuilder
Builder for |
| public class | StandardServiceRegistryBuilder
Builder for standard |