org.hibernate.service.internal
Class StandardServiceRegistryImpl

java.lang.Object
  extended by org.hibernate.service.internal.AbstractServiceRegistryImpl
      extended by org.hibernate.service.internal.StandardServiceRegistryImpl
All Implemented Interfaces:
ServiceRegistry, ServiceBinding.ServiceLifecycleOwner, ServiceRegistryImplementor

public class StandardServiceRegistryImpl
extends AbstractServiceRegistryImpl
implements ServiceRegistry

Hibernate implementation of the standard service registry.


Constructor Summary
StandardServiceRegistryImpl(boolean autoCloseRegistry, BootstrapServiceRegistry bootstrapServiceRegistry, List<BasicServiceInitiator> serviceInitiators, List<ProvidedService> providedServices, Map<?,?> configurationValues)
           
StandardServiceRegistryImpl(BootstrapServiceRegistry bootstrapServiceRegistry, List<BasicServiceInitiator> serviceInitiators, List<ProvidedService> providedServices, Map<?,?> configurationValues)
           
 
Method Summary
<R extends Service>
void
configureService(ServiceBinding<R> serviceBinding)
           
<R extends Service>
R
initiateService(ServiceInitiator<R> serviceInitiator)
           
 
Methods inherited from class org.hibernate.service.internal.AbstractServiceRegistryImpl
createService, createServiceBinding, createServiceBinding, deRegisterChild, destroy, getParentServiceRegistry, getService, injectDependencies, isActive, locateServiceBinding, locateServiceBinding, registerChild, registerService, startService, stopService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.service.ServiceRegistry
getParentServiceRegistry, getService
 

Constructor Detail

StandardServiceRegistryImpl

public StandardServiceRegistryImpl(BootstrapServiceRegistry bootstrapServiceRegistry,
                                   List<BasicServiceInitiator> serviceInitiators,
                                   List<ProvidedService> providedServices,
                                   Map<?,?> configurationValues)

StandardServiceRegistryImpl

public StandardServiceRegistryImpl(boolean autoCloseRegistry,
                                   BootstrapServiceRegistry bootstrapServiceRegistry,
                                   List<BasicServiceInitiator> serviceInitiators,
                                   List<ProvidedService> providedServices,
                                   Map<?,?> configurationValues)
Method Detail

initiateService

public <R extends Service> R initiateService(ServiceInitiator<R> serviceInitiator)
Specified by:
initiateService in interface ServiceBinding.ServiceLifecycleOwner

configureService

public <R extends Service> void configureService(ServiceBinding<R> serviceBinding)
Specified by:
configureService in interface ServiceBinding.ServiceLifecycleOwner


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.