A C D E F G H I J L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- activate(ServiceActivatorContext) - Method in interface org.jboss.msc.service.ServiceActivator
-
Activate services.
- ACTIVE - org.jboss.msc.service.ServiceController.Mode
-
Demand to start, recursively demanding dependencies.
- addAliases(ServiceName...) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Deprecated.
- addAliases(ServiceName...) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Deprecated.Use
ServiceBuilder.provides(ServiceName...)
instead. This method will be removed in a future release. - addController(ServiceController<?>) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Register controller with this monitor.
- addDependency(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Deprecated.
- addDependency(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Deprecated.
- addDependency(ServiceName) - Method in interface org.jboss.msc.service.ServiceTarget
-
Deprecated.This method will be removed in a future release.
- addDependency(ServiceName, Class<I>, Injector<I>) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Deprecated.
- addDependency(ServiceName, Class<I>, Injector<I>) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Deprecated.Use
ServiceBuilder.requires(ServiceName)
instead. This method will be removed in a future release. - addListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Adds a service listener to be added to the service.
- addListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Add a service lifecycle listener that will be added to this service.
- addListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceController
-
Add a service lifecycle listener.
- addListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Add a service lifecycle listener that will be added to this service.
- addListener(LifecycleListener) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Adds a service listener to be added to the service.
- addListener(LifecycleListener) - Method in interface org.jboss.msc.service.ServiceController
-
Add a service lifecycle listener.
- addListener(LifecycleListener) - Method in interface org.jboss.msc.service.ServiceTarget
-
Add a service lifecycle listener that will be added to this service.
- addMonitor(StabilityMonitor) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Deprecated.
- addMonitor(StabilityMonitor) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Deprecated.
- addMonitor(StabilityMonitor) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Deprecated.
- addMonitor(StabilityMonitor) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Deprecated.Stability monitors are unreliable - do not use them. This method will be removed in a future release.
- addMonitor(StabilityMonitor) - Method in interface org.jboss.msc.service.ServiceTarget
-
Deprecated.Stability monitors are unreliable - do not use them. This method will be removed in a future release.
- addService() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get a builder which can be used to add a service to this target.
- addService() - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Get a builder which can be used to add a service to this target.
- addService() - Method in interface org.jboss.msc.service.ServiceTarget
-
Get a builder which can be used to add a service to this target.
- addService(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Deprecated.
- addService(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Deprecated.
- addService(ServiceName) - Method in interface org.jboss.msc.service.ServiceTarget
-
Deprecated.Use
ServiceTarget.addService()
instead. This method will be removed in a future release. - addService(ServiceName, Service<T>) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Deprecated.
- addService(ServiceName, Service<T>) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Deprecated.
- addService(ServiceName, Service<T>) - Method in interface org.jboss.msc.service.ServiceTarget
-
Deprecated.Use
ServiceTarget.addService()
instead. This method will be removed in a future release. - addTerminateListener(ServiceContainer.TerminateListener) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Add a terminate listener to this container.
- addTerminateListener(ServiceContainer.TerminateListener) - Method in interface org.jboss.msc.service.ServiceContainer
-
Add a terminate listener to this container.
- append(String...) - Method in class org.jboss.msc.service.ServiceName
-
Create a service name by appending name parts using this as a parent to the new ServiceName.
- append(ServiceName) - Method in class org.jboss.msc.service.ServiceName
-
Create a service name by appending name parts of the provided ServiceName using this as a parent.
- asynchronous() - Method in interface org.jboss.msc.service.LifecycleContext
-
Call within the service lifecycle method to trigger an asynchronous lifecycle action.
- asynchronous() - Method in interface org.jboss.msc.service.StartContext
-
Call within the service lifecycle method to trigger an asynchronous lifecycle action.
- awaitStability() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability() - Method in interface org.jboss.msc.service.ServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability() - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(long, TimeUnit) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability(long, TimeUnit) - Method in interface org.jboss.msc.service.ServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability(long, TimeUnit) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(long, TimeUnit, Set<? super ServiceController<?>>, Set<? super ServiceController<?>>) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability(long, TimeUnit, Set<? super ServiceController<?>>, Set<? super ServiceController<?>>) - Method in interface org.jboss.msc.service.ServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability(long, TimeUnit, Set<? super ServiceController<?>>, Set<? super ServiceController<?>>) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(long, TimeUnit, Set<? super ServiceController<?>>, Set<? super ServiceController<?>>, StabilityStatistics) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(long, TimeUnit, StabilityStatistics) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(Set<? super ServiceController<?>>, Set<? super ServiceController<?>>) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability(Set<? super ServiceController<?>>, Set<? super ServiceController<?>>) - Method in interface org.jboss.msc.service.ServiceContainer
-
Causes the current thread to wait until the container is stable.
- awaitStability(Set<? super ServiceController<?>>, Set<? super ServiceController<?>>) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(Set<? super ServiceController<?>>, Set<? super ServiceController<?>>, StabilityStatistics) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitStability(StabilityStatistics) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Causes the current thread to wait until the monitor is stable.
- awaitTermination() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Causes the current thread to wait until the container is shutdown.
- awaitTermination() - Method in interface org.jboss.msc.service.ServiceContainer
-
Causes the current thread to wait until the container is shutdown.
- awaitTermination(long, TimeUnit) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Causes the current thread to wait until the container is shutdown.
- awaitTermination(long, TimeUnit) - Method in interface org.jboss.msc.service.ServiceContainer
-
Causes the current thread to wait until the container is shutdown.
- awaitValue() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Deprecated.
- awaitValue() - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.this method will be removed in a future release
- awaitValue(long, TimeUnit) - Method in class org.jboss.msc.service.DelegatingServiceController
-
Deprecated.
- awaitValue(long, TimeUnit) - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.this method will be removed in a future release
C
- CircularDependencyException - Exception in org.jboss.msc.service
-
Exception used to indicate there was a circular dependency discovered during resolution.
- CircularDependencyException(String, ServiceName[]) - Constructor for exception org.jboss.msc.service.CircularDependencyException
-
Constructs a
CircularDependencyException
with the specified detail message. - clear() - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Removes all the registered controllers in this monitor.
- commonAncestorOf(ServiceName) - Method in class org.jboss.msc.service.ServiceName
-
Return the service name that is the nearest common ancestor of the this name and the given one.
- compareAndSetMode(ServiceController.Mode, ServiceController.Mode) - Method in class org.jboss.msc.service.DelegatingServiceController
-
Compare the current mode against
expected
; if it matches, change it tonewMode
. - compareAndSetMode(ServiceController.Mode, ServiceController.Mode) - Method in interface org.jboss.msc.service.ServiceController
-
Compare the current mode against
expected
; if it matches, change it tonewMode
. - compareTo(ServiceName) - Method in class org.jboss.msc.service.ServiceName
-
Compare two service names lexicographically.
- complete() - Method in interface org.jboss.msc.service.LifecycleContext
-
Call when either synchronous or asynchronous lifecycle action is complete.
- complete() - Method in interface org.jboss.msc.service.StartContext
-
Call when either synchronous or asynchronous lifecycle action is complete.
- create() - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a generated name and default thread pool.
- create(boolean) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a generated name and default thread pool.
- create(int, long, TimeUnit) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a generated name and specified initial thread pool settings.
- create(int, long, TimeUnit, boolean) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a generated name and specified initial thread pool settings.
- create(String) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a given name and default thread pool.
- create(String, boolean) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a given name and default thread pool.
- create(String, int, long, TimeUnit) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a given name and specified initial thread pool settings.
- create(String, int, long, TimeUnit, boolean) - Static method in class org.jboss.msc.service.ServiceContainer.Factory
-
Create a new instance with a given name and specified initial thread pool settings.
D
- DelegatingServiceBuilder<T> - Class in org.jboss.msc.service
-
A service builder which delegates to another service builder.
- DelegatingServiceBuilder(ServiceBuilder<T>) - Constructor for class org.jboss.msc.service.DelegatingServiceBuilder
-
Construct a new instance.
- DelegatingServiceContainer - Class in org.jboss.msc.service
-
A delegating container for things which depend on a service container rather than a specific target or registry instance.
- DelegatingServiceContainer(ServiceTarget, ServiceRegistry) - Constructor for class org.jboss.msc.service.DelegatingServiceContainer
-
Construct a new instance.
- DelegatingServiceController<S> - Class in org.jboss.msc.service
-
A service controller which delegates to another service controller.
- DelegatingServiceController(ServiceController<S>) - Constructor for class org.jboss.msc.service.DelegatingServiceController
-
Construct a new instance.
- DelegatingServiceRegistry - Class in org.jboss.msc.service
-
A service registry which delegates to another service registry.
- DelegatingServiceRegistry(ServiceRegistry) - Constructor for class org.jboss.msc.service.DelegatingServiceRegistry
-
Construct a new instance.
- DelegatingServiceTarget - Class in org.jboss.msc.service
-
A service target which delegates to another service target.
- DelegatingServiceTarget(ServiceTarget) - Constructor for class org.jboss.msc.service.DelegatingServiceTarget
-
Construct a new instance.
- DOWN - org.jboss.msc.service.LifecycleEvent
- DOWN - org.jboss.msc.service.ServiceController.State
-
Down.
- dumpServiceDetails(String) - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Dump all details of a service.
- dumpServices() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Dump a complete list of services to
System.out
. - dumpServices() - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Dump the container state to the console.
- dumpServices() - Method in interface org.jboss.msc.service.ServiceContainer
-
Dump a complete list of services to
System.out
. - dumpServices(PrintStream) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Dump a complete list of services to the given stream.
- dumpServices(PrintStream) - Method in interface org.jboss.msc.service.ServiceContainer
-
Dump a complete list of services to the given stream.
- dumpServicesByStatus(String) - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Dump the services, whose status matches the passed
status
to the console - dumpServicesToGraphDescription() - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Dump the container state to a string suitable for rendering in GraphViz or compatible tools.
- dumpServicesToString() - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Dump the container state to a big string.
- dumpServicesToStringByStatus(String) - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Dump the services, whose status matches the passed
status
, state to a big string. - DuplicateServiceException - Exception in org.jboss.msc.service
-
An exception which is thrown when the given service is already registered.
- DuplicateServiceException() - Constructor for exception org.jboss.msc.service.DuplicateServiceException
-
Constructs a
DuplicateServiceException
with no detail message. - DuplicateServiceException(String) - Constructor for exception org.jboss.msc.service.DuplicateServiceException
-
Constructs a
DuplicateServiceException
with the specified detail message. - DuplicateServiceException(String, Throwable) - Constructor for exception org.jboss.msc.service.DuplicateServiceException
-
Constructs a
DuplicateServiceException
with the specified detail message and cause. - DuplicateServiceException(Throwable) - Constructor for exception org.jboss.msc.service.DuplicateServiceException
-
Constructs a
DuplicateServiceException
with the specified cause.
E
- equals(Object) - Method in class org.jboss.msc.service.ServiceName
-
Compare this service name to another service name.
- equals(ServiceName) - Method in class org.jboss.msc.service.ServiceName
-
Compare this service name to another service name.
- execute(Runnable) - Method in interface org.jboss.msc.service.LifecycleContext
-
Execute a task asynchronously using the MSC task executor.
F
- failed(StartException) - Method in interface org.jboss.msc.service.StartContext
-
Call when start lifecycle action has failed for some reason.
- FAILED - org.jboss.msc.service.LifecycleEvent
G
- getActiveCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that are inServiceController.Mode.ACTIVE
mode. - getAliases() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Deprecated.
- getAliases() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service aliases, if any, as strings.
- getAliases() - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.Use
ServiceController#provides()
instead. This method will be removed in a future release. - getCanonicalName() - Method in class org.jboss.msc.service.ServiceName
-
Get the canonical name of this service name.
- getController() - Method in interface org.jboss.msc.service.LifecycleContext
-
Get the associated service controller.
- getCycle() - Method in exception org.jboss.msc.service.CircularDependencyException
-
Returns a cycle found during service installation.
- getDelegate() - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Get the ServiceBuilder delegate.
- getDelegate() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the ServiceController delegate.
- getDelegate() - Method in class org.jboss.msc.service.DelegatingServiceRegistry
-
Get the ServiceRegistry delegate.
- getDelegate() - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Get the ServiceTarget delegate.
- getDependencies() - Method in class org.jboss.msc.service.management.ServiceStatus
-
The list of dependency names for this service.
- getElapsedTime() - Method in interface org.jboss.msc.service.LifecycleContext
-
Get the amount of time elapsed since the start or stop was initiated, in nanoseconds.
- getException() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service start exception.
- getFailedCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that failed to start because of start exception being thrown. - getChildTarget() - Method in interface org.jboss.msc.service.StartContext
-
Get a service target which may be used to add child services.
- getJarName() - Static method in class org.jboss.msc.Version
-
Get the name of the JBoss Modules JAR.
- getLazyCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that are inServiceController.Mode.LAZY
mode. - getMode() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the service controller's current mode.
- getMode() - Method in interface org.jboss.msc.service.ServiceController
-
Get the service controller's current mode.
- getModeName() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service mode, as a string.
- getName() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get the name of this service container.
- getName() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Deprecated.
- getName() - Method in interface org.jboss.msc.service.ServiceContainer
-
Get the name of this service container.
- getName() - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.Use
ServiceController#provides()
instead. This method will be removed in a future release. - getNeverCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that are inServiceController.Mode.NEVER
mode. - getOnDemandCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that are inServiceController.Mode.ON_DEMAND
mode. - getOptionalValue() - Method in class org.jboss.msc.value.InjectedValue
-
Deprecated.Get the value if it was injected, or return
null
if it was not. - getParent() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get this service's parent service, or
null
if there is none. - getParent() - Method in interface org.jboss.msc.service.ServiceController
-
Get this service's parent service, or
null
if there is none. - getParent() - Method in class org.jboss.msc.service.ServiceName
-
Get the parent (enclosing) service name.
- getParentName() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the name of the parent service, if any.
- getPassiveCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that are inServiceController.Mode.PASSIVE
mode. - getProblemsCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that had problem to start because of missing dependencies. - getRequiredService(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get a service, throwing an exception if it is not found.
- getRequiredService(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceRegistry
-
Get a service, throwing an exception if it is not found.
- getRequiredService(ServiceName) - Method in interface org.jboss.msc.service.ServiceRegistry
-
Get a service, throwing an exception if it is not found.
- getService() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the service.
- getService() - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.this method will be removed in a future release
- getService(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get a service, returning
null
if it is not found. - getService(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceRegistry
-
Get a service, returning
null
if it is not found. - getService(ServiceName) - Method in interface org.jboss.msc.service.ServiceRegistry
-
Get a service, returning
null
if it is not found. - getServiceClassName() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service class name, or
"<unknown>"
if not known. - getServiceContainer() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the service container associated with this controller.
- getServiceContainer() - Method in interface org.jboss.msc.service.ServiceController
-
Get the service container associated with this controller.
- getServiceName() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service name, as a string.
- getServiceName() - Method in exception org.jboss.msc.service.StartException
- getServiceNames() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get a list of service names installed in this registry.
- getServiceNames() - Method in class org.jboss.msc.service.DelegatingServiceRegistry
-
Get a list of service names installed in this registry.
- getServiceNames() - Method in interface org.jboss.msc.service.ServiceRegistry
-
Get a list of service names installed in this registry.
- getServiceRegistry() - Method in interface org.jboss.msc.service.ServiceActivatorContext
-
Get the service registry for this activation.
- getServiceRegistry() - Method in class org.jboss.msc.service.ServiceActivatorContextImpl
-
Get the service registry for this activation.
- getServiceRegistryDelegate() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get the ServiceRegistry delegate.
- getServiceStatus(String) - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Get the status of one service.
- getServiceTarget() - Method in interface org.jboss.msc.service.ServiceActivatorContext
-
Get the service target for this activation.
- getServiceTarget() - Method in class org.jboss.msc.service.ServiceActivatorContextImpl
-
Get the service target for this activation.
- getServiceTargetDelegate() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Get the ServiceTarget delegate.
- getShutdownCompleted() - Method in class org.jboss.msc.service.ServiceContainer.TerminateListener.Info
-
Returns the time the shutdown process was completed, in nanoseconds.
- getShutdownInitiated() - Method in class org.jboss.msc.service.ServiceContainer.TerminateListener.Info
-
Returns the time the shutdown process was initiated, in nanoseconds.
- getSimpleName() - Method in class org.jboss.msc.service.ServiceName
-
Get the simple (unqualified) name of this service.
- getStartedCount() - Method in class org.jboss.msc.service.StabilityStatistics
-
Deprecated.Returns count of controllers registered with
StabilityMonitor
that are inServiceController.State.UP
state. - getStartException() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the reason why the last start failed.
- getStartException() - Method in interface org.jboss.msc.service.ServiceController
-
Get the reason why the last start failed.
- getState() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the current service controller state.
- getState() - Method in interface org.jboss.msc.service.ServiceController
-
Get the current service controller state.
- getStateName() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service state, as a string.
- getSubstateName() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get the service internal substate, as a string.
- getUnavailableDependencies() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Deprecated.
- getUnavailableDependencies() - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.Use
ServiceController#missing()
instead. This method will be removed in a future release. - getValue() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Deprecated.
- getValue() - Method in interface org.jboss.msc.service.ServiceController
-
Deprecated.this method will be removed in a future release
- getValue() - Method in class org.jboss.msc.value.InjectedValue
-
Deprecated.Get the actual dependency value.
- getValue() - Method in interface org.jboss.msc.value.Value
-
Deprecated.Get the actual dependency value.
- getVersionString() - Static method in class org.jboss.msc.Version
-
Get the version string of JBoss Modules.
H
- handleEvent(ServiceController<?>, LifecycleEvent) - Method in interface org.jboss.msc.service.LifecycleListener
-
The service has entered new state
- handleTermination(ServiceContainer.TerminateListener.Info) - Method in interface org.jboss.msc.service.ServiceContainer.TerminateListener
-
Notifies this listener that the container is shutdown.
At the moment this listener is requested to handle termination, all services in the container are stopped and removed. - hashCode() - Method in class org.jboss.msc.service.ServiceName
-
Return the hash code of this service name.
I
- in(ServiceController.Mode...) - Method in enum org.jboss.msc.service.ServiceController.Mode
-
Determine if this mode is one of the given modes.
- in(ServiceController.State...) - Method in enum org.jboss.msc.service.ServiceController.State
-
Determine if this state is one of the given states.
- inject(T) - Method in interface org.jboss.msc.inject.Injector
-
Deprecated.Inject the given value.
- InjectedValue<T> - Class in org.jboss.msc.value
-
Deprecated.Use
ServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release. - InjectedValue() - Constructor for class org.jboss.msc.value.InjectedValue
-
Deprecated.Construct a new instance.
- InjectionException - Exception in org.jboss.msc.inject
-
Deprecated.This class will be removed in a future release.
- InjectionException() - Constructor for exception org.jboss.msc.inject.InjectionException
-
Deprecated.Constructs a
InjectionException
with no detail message. - InjectionException(String) - Constructor for exception org.jboss.msc.inject.InjectionException
-
Deprecated.Constructs a
InjectionException
with the specified detail message. - InjectionException(String, Throwable) - Constructor for exception org.jboss.msc.inject.InjectionException
-
Deprecated.Constructs a
InjectionException
with the specified detail message and cause. - InjectionException(Throwable) - Constructor for exception org.jboss.msc.inject.InjectionException
-
Deprecated.Constructs a
InjectionException
with the specified cause. - Injector<T> - Interface in org.jboss.msc.inject
-
Deprecated.Use
ServiceBuilder.provides(org.jboss.msc.service.ServiceName...)
method instead. This class will be removed in a future release. - install() - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Installs configured service into the container.
- install() - Method in interface org.jboss.msc.service.ServiceBuilder
-
Installs configured service into the container.
- isDependencyFailed() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Determine if some dependency was failed at the time of the query.
- isDependencyUnavailable() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Determine if some dependency was not available at the time of the query.
- isParentOf(ServiceName) - Method in class org.jboss.msc.service.ServiceName
-
Determine whether this service name is the same as, or a parent of, the given service name.
- isShutdown() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Whether container have been shut down.
- isShutdown() - Method in interface org.jboss.msc.service.ServiceContainer
-
Whether container have been shut down.
- isShutdownComplete() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Determine whether the container is completely shut down.
- isShutdownComplete() - Method in interface org.jboss.msc.service.ServiceContainer
-
Determine whether the container is completely shut down.
- isValidNameSegment(String) - Static method in class org.jboss.msc.service.ServiceName
-
Indicates if the name segment is valid.
J
- JBOSS - Static variable in class org.jboss.msc.service.ServiceName
-
The root name "jboss".
L
- LAZY - org.jboss.msc.service.ServiceController.Mode
-
Only come up if all dependencies are satisfied and at least one dependent demands to start.
- length() - Method in class org.jboss.msc.service.ServiceName
-
Get the length (in segments) of this service name.
- LifecycleContext - Interface in org.jboss.msc.service
-
A context object for lifecycle events.
- LifecycleEvent - Enum in org.jboss.msc.service
-
Service lifecycle events.
- LifecycleListener - Interface in org.jboss.msc.service
-
A listener for service lifecycle events.
M
- main(String[]) - Static method in class org.jboss.msc.Version
-
Print out the current version on
System.out
. - missing() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the names of all missing values this service require.
- missing() - Method in interface org.jboss.msc.service.ServiceController
-
Get the names of all missing values this service require.
N
- NEVER - org.jboss.msc.service.ServiceController.Mode
-
Do not start; in addition, ignore demands from dependents.
- newInstance(Consumer<V>, V) - Static method in interface org.jboss.msc.Service
-
Factory for services providing single value.
- NULL - Static variable in interface org.jboss.msc.Service
-
A simple null service whose start and stop methods do nothing.
- NULL - Static variable in interface org.jboss.msc.service.Service
-
Deprecated.A simple null service which performs no start or stop action.
O
- of(String...) - Static method in class org.jboss.msc.service.ServiceName
-
Create a ServiceName from a series of String parts.
- of(ServiceName, String...) - Static method in class org.jboss.msc.service.ServiceName
-
Create a ServiceName from a series of String parts and a parent service name.
- ON_DEMAND - org.jboss.msc.service.ServiceController.Mode
-
Only come up if all dependencies are satisfied and at least one dependent demands to start.
- org.jboss.msc - package org.jboss.msc
-
The modular service container base package.
- org.jboss.msc.inject - package org.jboss.msc.inject
-
Classes which implement value injection.
- org.jboss.msc.service - package org.jboss.msc.service
-
The service container implementation itself.
- org.jboss.msc.service.management - package org.jboss.msc.service.management
- org.jboss.msc.value - package org.jboss.msc.value
-
Classes which implement various indirect value types.
P
- parse(String) - Static method in class org.jboss.msc.service.ServiceName
-
Parse a string-form service name.
- PASSIVE - org.jboss.msc.service.ServiceController.Mode
-
Come up automatically as soon as all dependencies are satisfied.
- provides() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the names of all values this service provide.
- provides() - Method in interface org.jboss.msc.service.ServiceController
-
Get the names of all values this service provide.
- provides(ServiceName...) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Specifies value provided by service.
- provides(ServiceName...) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Specifies value provided by service.
Q
- queryServiceNames() - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Get a list of service names in this container.
- queryServiceStatuses() - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Get a list of service statuses in this container.
R
- REMOVE - org.jboss.msc.service.ServiceController.Mode
-
Remove this service and all of its dependents.
- removeController(ServiceController<?>) - Method in class org.jboss.msc.service.StabilityMonitor
-
Deprecated.Unregister controller with this monitor.
- REMOVED - org.jboss.msc.service.LifecycleEvent
- REMOVED - org.jboss.msc.service.ServiceController.State
-
Service was removed from the container.
- removeListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Remove a lifecycle listener from this target, if it exists.
- removeListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceController
-
Remove a lifecycle listener.
- removeListener(LifecycleListener) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Remove a lifecycle listener from this target, if it exists.
- removeListener(LifecycleListener) - Method in interface org.jboss.msc.service.ServiceController
-
Remove a lifecycle listener.
- removeListener(LifecycleListener) - Method in interface org.jboss.msc.service.ServiceTarget
-
Remove a lifecycle listener from this target, if it exists.
- removeMonitor(StabilityMonitor) - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Deprecated.
- removeMonitor(StabilityMonitor) - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Deprecated.
- removeMonitor(StabilityMonitor) - Method in interface org.jboss.msc.service.ServiceTarget
-
Deprecated.Stability monitors are unreliable - do not use them. This method will be removed in a future release.
- requires() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Get the names of all values this service require.
- requires() - Method in interface org.jboss.msc.service.ServiceController
-
Get the names of all values this service require.
- requires(ServiceName) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Specifies value name required by service.
- requires(ServiceName) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Specifies value name required by service.
- retry() - Method in class org.jboss.msc.service.DelegatingServiceController
-
Retry a failed service.
- retry() - Method in interface org.jboss.msc.service.ServiceController
-
Retry a failed service.
S
- Service - Interface in org.jboss.msc
-
A service is a thing which can be started and stopped.
- Service<T> - Interface in org.jboss.msc.service
-
Deprecated.use
Service
instead. This class will be removed in a future release. - ServiceActivator - Interface in org.jboss.msc.service
-
A service activator which contributes services to a batch.
- ServiceActivatorContext - Interface in org.jboss.msc.service
-
Context provided to ServiceActivator instances at execution time.
- ServiceActivatorContextImpl - Class in org.jboss.msc.service
-
A simple service activator context implementation.
- ServiceActivatorContextImpl(ServiceTarget, ServiceRegistry) - Constructor for class org.jboss.msc.service.ServiceActivatorContextImpl
-
Construct a new instance.
- ServiceBuilder<T> - Interface in org.jboss.msc.service
-
Builder to configure service before installing it into the container.
- ServiceContainer - Interface in org.jboss.msc.service
-
A service container which manages a set of running services.
- ServiceContainer.Factory - Class in org.jboss.msc.service
-
The factory class for service containers.
- ServiceContainer.TerminateListener - Interface in org.jboss.msc.service
-
A listener for notification of container shutdown.
- ServiceContainer.TerminateListener.Info - Class in org.jboss.msc.service
-
Container shutdown information.
- ServiceContainerMXBean - Interface in org.jboss.msc.service.management
-
The service container management bean interface.
- ServiceController<S> - Interface in org.jboss.msc.service
-
A controller for a single service instance.
- ServiceController.Mode - Enum in org.jboss.msc.service
-
The controller mode for a service.
- ServiceController.State - Enum in org.jboss.msc.service
-
A possible state for a service controller.
- ServiceName - Class in org.jboss.msc.service
-
Service name class.
- ServiceNotFoundException - Exception in org.jboss.msc.service
-
Exception which is thrown when a required service is not found in the registry.
- ServiceNotFoundException() - Constructor for exception org.jboss.msc.service.ServiceNotFoundException
-
Constructs a
ServiceNotFoundException
with no detail message. - ServiceNotFoundException(String) - Constructor for exception org.jboss.msc.service.ServiceNotFoundException
-
Constructs a
ServiceNotFoundException
with the specified detail message. - ServiceNotFoundException(String, Throwable) - Constructor for exception org.jboss.msc.service.ServiceNotFoundException
-
Constructs a
ServiceNotFoundException
with the specified detail message and cause. - ServiceNotFoundException(Throwable) - Constructor for exception org.jboss.msc.service.ServiceNotFoundException
-
Constructs a
ServiceNotFoundException
with the specified cause. - ServiceRegistry - Interface in org.jboss.msc.service
-
A service registry.
- ServiceRegistryException - Exception in org.jboss.msc.service
-
Base Exception class used for service registry issues.
- ServiceRegistryException() - Constructor for exception org.jboss.msc.service.ServiceRegistryException
-
Constructs a
ServiceRegistryException
with no detail message. - ServiceRegistryException(String) - Constructor for exception org.jboss.msc.service.ServiceRegistryException
-
Constructs a
ServiceRegistryException
with the specified detail message. - ServiceRegistryException(String, Throwable) - Constructor for exception org.jboss.msc.service.ServiceRegistryException
-
Constructs a
ServiceRegistryException
with the specified detail message and cause. - ServiceRegistryException(Throwable) - Constructor for exception org.jboss.msc.service.ServiceRegistryException
-
Constructs a
ServiceRegistryException
with the specified cause. - ServiceStatus - Class in org.jboss.msc.service.management
-
A representation of the current status of some service.
- ServiceStatus(String, String, String[], String, String, String, String, String[], boolean, String, boolean) - Constructor for class org.jboss.msc.service.management.ServiceStatus
-
Construct a new instance.
- ServiceTarget - Interface in org.jboss.msc.service
-
The target of ServiceBuilder installations.
- setInitialMode(ServiceController.Mode) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Sets initial service mode.
- setInitialMode(ServiceController.Mode) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Sets initial service mode.
- setInstance(Service) - Method in class org.jboss.msc.service.DelegatingServiceBuilder
-
Sets service instance.
- setInstance(Service) - Method in interface org.jboss.msc.service.ServiceBuilder
-
Sets service instance.
- setMode(ServiceController.Mode) - Method in class org.jboss.msc.service.DelegatingServiceController
-
Change the service controller's current mode.
- setMode(ServiceController.Mode) - Method in interface org.jboss.msc.service.ServiceController
-
Change the service controller's current mode.
- setServiceMode(String, String) - Method in interface org.jboss.msc.service.management.ServiceContainerMXBean
-
Change the mode of a service.
- setServiceName(ServiceName) - Method in exception org.jboss.msc.service.StartException
- setValue(Value<T>) - Method in class org.jboss.msc.value.InjectedValue
-
Deprecated.Set the value to be injected to a
Value
instance. - shutdown() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Stop all services within this container.
- shutdown() - Method in interface org.jboss.msc.service.ServiceContainer
-
Stop all services within this container.
- StabilityMonitor - Class in org.jboss.msc.service
-
Deprecated.Stability monitors are unreliable - do not use them. This class will be removed in a future release.
- StabilityMonitor() - Constructor for class org.jboss.msc.service.StabilityMonitor
-
Deprecated.
- StabilityStatistics - Class in org.jboss.msc.service
-
Deprecated.Stability monitors are unreliable - do not use them. This class will be removed in a future release.
- StabilityStatistics() - Constructor for class org.jboss.msc.service.StabilityStatistics
-
Deprecated.
- start(StartContext) - Method in interface org.jboss.msc.Service
-
Start the service.
- START_FAILED - org.jboss.msc.service.ServiceController.State
-
Start failed, or was cancelled.
- StartContext - Interface in org.jboss.msc.service
-
The start lifecycle context.
- StartException - Exception in org.jboss.msc.service
-
A start exception, thrown when a service fails to start.
- StartException() - Constructor for exception org.jboss.msc.service.StartException
-
Constructs a
StartException
with no detail message. - StartException(String) - Constructor for exception org.jboss.msc.service.StartException
-
Constructs a
StartException
with the specified detail message. - StartException(String, Throwable) - Constructor for exception org.jboss.msc.service.StartException
-
Constructs a
StartException
with the specified detail message and cause. - StartException(String, Throwable, ServiceName) - Constructor for exception org.jboss.msc.service.StartException
- StartException(Throwable) - Constructor for exception org.jboss.msc.service.StartException
-
Constructs a
StartException
with the specified cause. - STARTING - org.jboss.msc.service.ServiceController.State
-
Service is starting.
- stop(StopContext) - Method in interface org.jboss.msc.Service
-
Stop the service.
- StopContext - Interface in org.jboss.msc.service
-
The stop lifecycle context.
- STOPPING - org.jboss.msc.service.ServiceController.State
-
Service is stopping.
- subTarget() - Method in class org.jboss.msc.service.DelegatingServiceContainer
-
Create a sub-target using this as the parent target.
- subTarget() - Method in class org.jboss.msc.service.DelegatingServiceTarget
-
Create a sub-target using this as the parent target.
- subTarget() - Method in interface org.jboss.msc.service.ServiceTarget
-
Create a sub-target using this as the parent target.
T
- toArray() - Method in class org.jboss.msc.service.ServiceName
-
Convert this service name into an array of strings containing the segments of the name.
- toString() - Method in class org.jboss.msc.service.management.ServiceStatus
-
Get a string representation of the current status.
- toString() - Method in class org.jboss.msc.service.ServiceName
-
Get a string representation of this service name.
- toString() - Method in exception org.jboss.msc.service.StartException
U
- uninject() - Method in interface org.jboss.msc.inject.Injector
-
Deprecated.Uninject the given value (in other words, cancel or undo a previous injection).
- UP - org.jboss.msc.service.LifecycleEvent
- UP - org.jboss.msc.service.ServiceController.State
-
Up.
V
- Value<T> - Interface in org.jboss.msc.value
-
Deprecated.Use
ServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release. - valueOf(String) - Static method in enum org.jboss.msc.service.LifecycleEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.msc.service.ServiceController.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.msc.service.ServiceController.State
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jboss.msc.service.LifecycleEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.msc.service.ServiceController.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.msc.service.ServiceController.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Class in org.jboss.msc
-
The current version of this module.
All Classes All Packages