|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StopStrategy | |
---|---|
org.apache.xbean.kernel | Defines the kernel interface for managing services and interfaces the kernel uses to interact with the services. |
org.apache.xbean.kernel.standard | Provides the standard kernel implementation. |
Uses of StopStrategy in org.apache.xbean.kernel |
---|
Fields in org.apache.xbean.kernel declared as StopStrategy | |
---|---|
static StopStrategy |
StopStrategies.ASYNCHRONOUS
This strategy attempts to stop the service asynchronously. |
static StopStrategy |
StopStrategies.BLOCK
This strategy wait until the service stops. |
static StopStrategy |
StopStrategies.FORCE
This strategy forceable stops the service. |
static StopStrategy |
StopStrategies.SYNCHRONOUS
This strategy attempts to immedately stop the service. |
Methods in org.apache.xbean.kernel with parameters of type StopStrategy | |
---|---|
void |
Kernel.stopService(ServiceName serviceName,
StopStrategy stopStrategy)
Immediately stops the service using the specified stop strategy. |
void |
Kernel.unregisterService(ServiceName serviceName,
StopStrategy stopStrategy)
Unregisters a service from this kernel. |
Uses of StopStrategy in org.apache.xbean.kernel.standard |
---|
Methods in org.apache.xbean.kernel.standard with parameters of type StopStrategy | |
---|---|
void |
ServiceManager.destroy(StopStrategy stopStrategy)
Attempts to stop and destroy the service. |
boolean |
ServiceManager.stop(StopStrategy stopStrategy)
Attempts to stop the service. |
void |
StandardKernel.stopService(ServiceName serviceName,
StopStrategy stopStrategy)
Immediately stops the service using the specified stop strategy. |
void |
ServiceManagerRegistry.unregisterService(ServiceName serviceName,
StopStrategy stopStrategy)
Stops and destorys the ServiceManager and then unregisters it. |
void |
StandardKernel.unregisterService(ServiceName serviceName,
StopStrategy stopStrategy)
Unregisters a service from this kernel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |