| Package | Description |
|---|---|
| org.jboss.msc.service |
The service container implementation itself.
|
| Modifier and Type | Field and Description |
|---|---|
private ServiceControllerImpl<?>[] |
ServiceControllerImpl.StopTask.children |
private ServiceControllerImpl<?>[] |
ServiceControllerImpl.DependencyFailedTask.children |
private ServiceControllerImpl<?> |
ServiceRegistrationImpl.instance
The current instance.
|
private static ServiceControllerImpl<?>[] |
ServiceControllerImpl.NO_CONTROLLERS |
private ServiceControllerImpl<?> |
ServiceBuilderImpl.parent |
private ServiceControllerImpl<?> |
ServiceControllerImpl.parent
The parent of this service.
|
| Modifier and Type | Field and Description |
|---|---|
private IdentityHashSet<ServiceControllerImpl<?>> |
ServiceControllerImpl.children
The children of this service (only valid during
State#UP). |
private IdentityHashSet<ServiceControllerImpl<?>> |
StabilityMonitor.controllers |
| Modifier and Type | Method and Description |
|---|---|
ServiceControllerImpl<?> |
Dependent.getController()
Get the controller of this dependent.
|
ServiceControllerImpl<?> |
OptionalDependency.getController() |
ServiceControllerImpl<?> |
ServiceControllerImpl.getController()
Get the controller of this dependent.
|
ServiceControllerImpl<?> |
Dependency.getDependencyController()
Get the controller for this dependency, or
null if there is none currently. |
ServiceControllerImpl<?> |
OptionalDependency.getDependencyController() |
ServiceControllerImpl<?> |
ServiceRegistrationImpl.getDependencyController() |
(package private) ServiceControllerImpl<?> |
ServiceRegistrationImpl.getInstance() |
(package private) ServiceControllerImpl<?> |
ServiceBuilderImpl.getParent() |
ServiceControllerImpl<?> |
ServiceControllerImpl.getParent() |
| Modifier and Type | Method and Description |
|---|---|
(package private) IdentityHashSet<ServiceControllerImpl<?>> |
ServiceControllerImpl.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
ServiceControllerImpl.addChild(ServiceControllerImpl<?> child) |
(package private) void |
StabilityMonitor.addControllerNoCallback(ServiceControllerImpl<?> controller)
Register controller with this monitor but don't call serviceController.addMonitor() at all.
|
(package private) void |
ServiceContainerImpl.apply(ServiceBuilderImpl<?> builder,
ServiceControllerImpl<?> parent) |
(package private) void |
ServiceRegistrationImpl.clearInstance(ServiceControllerImpl<?> oldInstance) |
protected <T> ServiceBuilder<T> |
ServiceControllerImpl.ChildServiceTarget.createServiceBuilder(ServiceName name,
Value<? extends Service<T>> value,
ServiceControllerImpl<?> parent) |
protected <T> ServiceBuilder<T> |
ServiceTargetImpl.createServiceBuilder(ServiceName name,
Value<? extends Service<T>> value,
ServiceControllerImpl<?> parent) |
private void |
ServiceContainerImpl.detectCircularity(IdentityHashSet<? extends Dependent> dependents,
ServiceControllerImpl<?> instance,
java.util.Set<ServiceControllerImpl<?>> visited,
java.util.Deque<ServiceName> visitStack) |
private <T> void |
ServiceContainerImpl.detectCircularity(ServiceControllerImpl<T> instance)
Detects if installation of
instance results in dependency cycles. |
(package private) void |
ServiceControllerImpl.removeChild(ServiceControllerImpl<?> child) |
(package private) void |
StabilityMonitor.removeControllerNoCallback(ServiceControllerImpl<?> controller)
Unregister controller with this monitor but don't call serviceController.removeMonitor() at all.
|
(package private) void |
ServiceRegistrationImpl.setInstance(ServiceControllerImpl<?> instance)
Set the instance.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
ServiceContainerImpl.detectCircularity(IdentityHashSet<? extends Dependent> dependents,
ServiceControllerImpl<?> instance,
java.util.Set<ServiceControllerImpl<?>> visited,
java.util.Deque<ServiceName> visitStack) |
| Constructor and Description |
|---|
ServiceBuilderImpl(ServiceTargetImpl serviceTarget,
Value<? extends Service<T>> serviceValue,
ServiceName serviceName,
ServiceControllerImpl<?> parent) |
ServiceControllerImpl(Value<? extends Service<S>> serviceValue,
Dependency[] dependencies,
ValueInjection<?>[] injections,
ValueInjection<?>[] outInjections,
ServiceRegistrationImpl primaryRegistration,
ServiceRegistrationImpl[] aliasRegistrations,
java.util.Set<StabilityMonitor> monitors,
java.util.Set<? extends ServiceListener<? super S>> listeners,
ServiceControllerImpl<?> parent) |