repo1.maven.org$maven2@org.hibernate$hibernate-core@4.0.0.Beta5
repo1.maven.org$maven2@org.hibernate$hibernate-core@4.0.0.Beta5@org$hibernate$service$ServiceRegistry.java
file
oh
o
[]
package org.hibernate.service;
The registry of
services.
Retrieve this registry's parent registry.
- Returns:
- The parent registry. May be null.
Retrieve a service by role. If service is not found, but a
org.hibernate.service.spi.BasicServiceInitiator is registered for
this service role, the service will be initialized and returned.
NOTE: We cannot return <R extends Service<T>> here because the service might come from the parent...
- Parameters:
serviceRole The service role<R> The service role type- Returns:
- The requested service.
- Throws:
UnknownServiceException Indicates the service was not known.