ServiceContainer |
DelegatingServiceContainer.addDependency(ServiceName dependency) |
Deprecated.
|
ServiceContainer |
DelegatingServiceContainer.addListener(LifecycleListener listener) |
Add a service lifecycle listener that will be added to this service.
|
static ServiceContainer |
ServiceContainer.Factory.create() |
Create a new instance with a generated name and default thread pool.
|
static ServiceContainer |
ServiceContainer.Factory.create(boolean autoShutdown) |
Create a new instance with a generated name and default thread pool.
|
static ServiceContainer |
ServiceContainer.Factory.create(int coreSize,
long keepAliveTime,
TimeUnit keepAliveTimeUnit) |
Create a new instance with a generated name and specified initial thread pool settings.
|
static ServiceContainer |
ServiceContainer.Factory.create(int coreSize,
long keepAliveTime,
TimeUnit keepAliveTimeUnit,
boolean autoShutdown) |
Create a new instance with a generated name and specified initial thread pool settings.
|
static ServiceContainer |
ServiceContainer.Factory.create(String name) |
Create a new instance with a given name and default thread pool.
|
static ServiceContainer |
ServiceContainer.Factory.create(String name,
boolean autoShutdown) |
Create a new instance with a given name and default thread pool.
|
static ServiceContainer |
ServiceContainer.Factory.create(String name,
int coreSize,
long keepAliveTime,
TimeUnit keepAliveTimeUnit) |
Create a new instance with a given name and specified initial thread pool settings.
|
static ServiceContainer |
ServiceContainer.Factory.create(String name,
int coreSize,
long keepAliveTime,
TimeUnit keepAliveTimeUnit,
boolean autoShutdown) |
Create a new instance with a given name and specified initial thread pool settings.
|
ServiceContainer |
DelegatingServiceController.getServiceContainer() |
Get the service container associated with this controller.
|
ServiceContainer |
ServiceController.getServiceContainer() |
Get the service container associated with this controller.
|
ServiceContainer |
DelegatingServiceContainer.removeListener(LifecycleListener listener) |
Remove a lifecycle listener from this target, if it exists.
|