public class StandardServiceRegistryImpl extends AbstractServiceRegistryImpl implements StandardServiceRegistry
ALLOW_CRAWLING
Constructor and Description |
---|
StandardServiceRegistryImpl(boolean autoCloseRegistry,
BootstrapServiceRegistry bootstrapServiceRegistry,
List<StandardServiceInitiator> serviceInitiators,
List<ProvidedService> providedServices,
Map<?,?> configurationValues)
Constructs a StandardServiceRegistryImpl.
|
StandardServiceRegistryImpl(BootstrapServiceRegistry bootstrapServiceRegistry,
List<StandardServiceInitiator> serviceInitiators,
List<ProvidedService> providedServices,
Map<?,?> configurationValues)
Constructs a StandardServiceRegistryImpl.
|
Modifier and Type | Method and Description |
---|---|
<R extends Service> |
configureService(ServiceBinding<R> serviceBinding) |
<R extends Service> |
initiateService(ServiceInitiator<R> serviceInitiator) |
createService, createServiceBinding, createServiceBinding, deRegisterChild, destroy, getParentServiceRegistry, getService, injectDependencies, isActive, locateServiceBinding, locateServiceBinding, registerChild, registerService, startService, stopService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentServiceRegistry, getService
public StandardServiceRegistryImpl(BootstrapServiceRegistry bootstrapServiceRegistry, List<StandardServiceInitiator> serviceInitiators, List<ProvidedService> providedServices, Map<?,?> configurationValues)
StandardServiceRegistryBuilder
insteadbootstrapServiceRegistry
- The bootstrap service registry.serviceInitiators
- Any StandardServiceInitiators provided by the user to the builderprovidedServices
- Any standard services provided directly to the builderconfigurationValues
- Configuration valuesStandardServiceRegistryBuilder
public StandardServiceRegistryImpl(boolean autoCloseRegistry, BootstrapServiceRegistry bootstrapServiceRegistry, List<StandardServiceInitiator> serviceInitiators, List<ProvidedService> providedServices, Map<?,?> configurationValues)
StandardServiceRegistryBuilder
insteadautoCloseRegistry
- See discussion on
StandardServiceRegistryBuilder.disableAutoClose()
bootstrapServiceRegistry
- The bootstrap service registry.serviceInitiators
- Any StandardServiceInitiators provided by the user to the builderprovidedServices
- Any standard services provided directly to the builderconfigurationValues
- Configuration valuesStandardServiceRegistryBuilder
public <R extends Service> R initiateService(ServiceInitiator<R> serviceInitiator)
initiateService
in interface ServiceBinding.ServiceLifecycleOwner
public <R extends Service> void configureService(ServiceBinding<R> serviceBinding)
configureService
in interface ServiceBinding.ServiceLifecycleOwner
Copyright © 2016 JBoss by Red Hat. All rights reserved.