org.hibernate.boot.registry.BootstrapServiceRegistryBuilder ,
and
org.hibernate.boot.registry.StandardServiceRegistryBuilder .
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Redeclares java. |
| public @Nullable ServiceRegistry | Returns: The parent registry. May be null.Retrieve this registry's parent registry. |
| public < The service role type R extends Service> @Nullable R | Returns: The requested service or null if the service was not found.The service role serviceRole)Retrieve a service by role. |
| public default < The service role type R extends Service> R | Returns: The requested service .The service role serviceRole)Retrieve a service by role. |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| getParentServiceRegistry | back to summary |
|---|---|
| public @Nullable ServiceRegistry getParentServiceRegistry() Retrieve this registry's parent registry.
| |
| getService | back to summary |
|---|---|
| public <R extends Service> @Nullable R getService(Class<R> serviceRole) Retrieve a service by role. If service is not found, but a API Note We cannot return
| |
| requireService | back to summary |
|---|---|
| public default <R extends Service> R requireService(Class<R> serviceRole) Retrieve a service by role. If service is not found, but a API Note We cannot return
| |