ServiceRegistry implementation containing specialized "bootstrap" services, specifically:
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final boolean | |
| private Set | |
| private final ServiceBinding | |
| private final ServiceBinding | |
| private static final CoreMessageLogger | |
| private static final LinkedHashSet | |
| private final ServiceBinding |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BootstrapServiceRegistryImpl(ClassLoaderService
The ClassLoaderService to use classLoaderService, LinkedHashSet<Integrator> The group of explicitly provided integrators providedIntegrators)Constructs a BootstrapServiceRegistryImpl. |
| public | BootstrapServiceRegistryImpl(boolean autoCloseRegistry, ClassLoaderService
The ClassLoaderService to use classLoaderService, LinkedHashSet<Integrator> The group of explicitly provided integrators providedIntegrators)Constructs a BootstrapServiceRegistryImpl. |
| public | BootstrapServiceRegistryImpl(ClassLoaderService
The ClassLoaderService to use classLoaderService, StrategySelector The StrategySelector to use strategySelector, IntegratorService The IntegratorService to use integratorService)Constructs a BootstrapServiceRegistryImpl. |
| public | BootstrapServiceRegistryImpl(boolean autoCloseRegistry, ClassLoaderService
The ClassLoaderService to use classLoaderService, StrategySelector The StrategySelector to use strategySelector, IntegratorService The IntegratorService to use integratorService)Constructs a BootstrapServiceRegistryImpl. |
| Modifier and Type | Method and Description |
|---|---|
| public <R extends Service> void | |
| public synchronized void | deRegisterChild(ServiceRegistryImplementor child)
Implements org. |
| public synchronized void | |
| private synchronized void | |
| public ServiceRegistry | getParentServiceRegistry()
Implements org. |
| public <R extends Service> R | getService(Class<R>
The service role serviceRole)Implements org. |
| public <R extends Service> R | initiateService(ServiceInitiator<R> serviceInitiator)
Implements org. |
| public <R extends Service> void | |
| public boolean | |
| public <R extends Service> ServiceBinding | locateServiceBinding(Class<R>
The service role for which to locate a binding. serviceRole)Implements org. |
| public synchronized void | registerChild(ServiceRegistryImplementor child)
Implements org. |
| public <R extends Service> void | |
| public synchronized <R extends Service> void | stopService(ServiceBinding<R> binding)
Implements org. |
| active | back to summary |
|---|---|
| private boolean active | |
| autoCloseRegistry | back to summary |
|---|---|
| private final boolean autoCloseRegistry | |
| childRegistries | back to summary |
|---|---|
| private Set<ServiceRegistryImplementor> childRegistries | |
| classLoaderServiceBinding | back to summary |
|---|---|
| private final ServiceBinding<ClassLoaderService> classLoaderServiceBinding | |
| integratorServiceBinding | back to summary |
|---|---|
| private final ServiceBinding<IntegratorService> integratorServiceBinding | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| NO_INTEGRATORS | back to summary |
|---|---|
| private static final LinkedHashSet<Integrator> NO_INTEGRATORS | |
| strategySelectorBinding | back to summary |
|---|---|
| private final ServiceBinding<StrategySelector> strategySelectorBinding | |
| BootstrapServiceRegistryImpl | back to summary |
|---|---|
| public BootstrapServiceRegistryImpl() Constructs a BootstrapServiceRegistryImpl.
Do not use directly generally speaking. Use | |
| BootstrapServiceRegistryImpl | back to summary |
|---|---|
| public BootstrapServiceRegistryImpl(ClassLoaderService classLoaderService, LinkedHashSet<Integrator> providedIntegrators) Constructs a BootstrapServiceRegistryImpl.
Do not use directly generally speaking. Use
| |
| BootstrapServiceRegistryImpl | back to summary |
|---|---|
| public BootstrapServiceRegistryImpl(boolean autoCloseRegistry, ClassLoaderService classLoaderService, LinkedHashSet<Integrator> providedIntegrators) Constructs a BootstrapServiceRegistryImpl.
Do not use directly generally speaking. Use
| |
| BootstrapServiceRegistryImpl | back to summary |
|---|---|
| public BootstrapServiceRegistryImpl(ClassLoaderService classLoaderService, StrategySelector strategySelector, IntegratorService integratorService) Constructs a BootstrapServiceRegistryImpl.
Do not use directly generally speaking. Use
| |
| BootstrapServiceRegistryImpl | back to summary |
|---|---|
| public BootstrapServiceRegistryImpl(boolean autoCloseRegistry, ClassLoaderService classLoaderService, StrategySelector strategySelector, IntegratorService integratorService) Constructs a BootstrapServiceRegistryImpl.
Do not use directly generally speaking. Use
| |
| configureService | back to summary |
|---|---|
| public <R extends Service> void configureService(ServiceBinding<R> binding) Implements org.
| |
| deRegisterChild | back to summary |
|---|---|
| public synchronized void deRegisterChild(ServiceRegistryImplementor child) Implements org. Doc from org. When a registry is created with a parent, the parent is notified of the child via this callback.
| |
| destroy | back to summary |
|---|---|
| public synchronized void destroy() Implements org. Doc from org. Release resources
| |
| destroy | back to summary |
|---|---|
| private synchronized void destroy(ServiceBinding<R extends Service> serviceBinding) | |
| getParentServiceRegistry | back to summary |
|---|---|
| public ServiceRegistry getParentServiceRegistry() Implements org. Doc from org. Retrieve this registry's parent registry.
| |
| getService | back to summary |
|---|---|
| public <R extends Service> R getService(Class<R> serviceRole) Implements org. Doc from org. Retrieve a service by role. If service is not found, but a Note We cannot return | |
| initiateService | back to summary |
|---|---|
| public <R extends Service> R initiateService(ServiceInitiator<R> serviceInitiator) Implements org.
| |
| injectDependencies | back to summary |
|---|---|
| public <R extends Service> void injectDependencies(ServiceBinding<R> binding) Implements org.
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() | |
| locateServiceBinding | back to summary |
|---|---|
| public <R extends Service> ServiceBinding Implements org. Doc from org. Locate the binding for the given role. Should, generally speaking, look into parent registry if one.
| |
| registerChild | back to summary |
|---|---|
| public synchronized void registerChild(ServiceRegistryImplementor child) Implements org. Doc from org. When a registry is created with a parent, the parent is notified of the child via this callback.
| |
| startService | back to summary |
|---|---|
| public <R extends Service> void startService(ServiceBinding<R> binding) Implements org.
| |
| stopService | back to summary |
|---|---|
| public synchronized <R extends Service> void stopService(ServiceBinding<R> binding) Implements org.
| |