Package | Description |
---|---|
org.jboss.msc.service |
The service container implementation itself.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingServiceContainer
A delegating container for things which depend on a service container rather than a specific
target or registry instance.
|
Modifier and Type | Method and Description |
---|---|
ServiceContainer |
DelegatingServiceContainer.addDependency(java.util.Collection<ServiceName> dependencies)
Add a collection of dependencies that will be added to the all ServiceBuilders installed in this target
|
ServiceContainer |
DelegatingServiceContainer.addDependency(ServiceName... dependencies)
Add a list of dependencies that will be added to the all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addDependency(ServiceName dependency)
Add a dependency that will be added to the all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(java.util.Collection<ServiceListener<java.lang.Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener.Inheritance inheritance,
java.util.Collection<ServiceListener<java.lang.Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<java.lang.Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<java.lang.Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener<java.lang.Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener<java.lang.Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
static ServiceContainer |
ServiceContainer.Factory.create()
Create a new instance with a generated name and default thread pool.
|
static ServiceContainer |
ServiceContainer.Factory.create(int coreSize,
long keepAliveTime,
java.util.concurrent.TimeUnit keepAliveTimeUnit)
Create a new instance with a generated name and specified initial thread pool settings.
|
static ServiceContainer |
ServiceContainer.Factory.create(java.lang.String name)
Create a new instance with a given name and default thread pool.
|
static ServiceContainer |
ServiceContainer.Factory.create(java.lang.String name,
int coreSize,
long keepAliveTime,
java.util.concurrent.TimeUnit keepAliveTimeUnit)
Create a new instance with a given name and specified initial thread pool settings.
|
ServiceContainer |
ServiceController.getServiceContainer()
Get the service container associated with this controller.
|
ServiceContainer |
DelegatingServiceContainer.removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
ServiceContainer |
DelegatingServiceContainer.removeListener(ServiceListener<java.lang.Object> listener)
Remove a listener from this target, if it exists.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ServiceUtils.isServiceThread(java.lang.Thread thread,
ServiceContainer container)
Determine whether the given thread is a service thread which is associated with the given container.
|
Copyright © 2011 JBoss, a division of Red Hat, Inc.