|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StartStrategy | |
---|---|
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 StartStrategy in org.apache.xbean.kernel |
---|
Fields in org.apache.xbean.kernel declared as StartStrategy | |
---|---|
static StartStrategy |
StartStrategies.ASYNCHRONOUS
This strategy attempts to start the service asynchronously. |
static StartStrategy |
StartStrategies.BLOCK
This strategy wait until the service start. |
static StartStrategy |
StartStrategies.SYNCHRONOUS
This strategy attempts to immedately start the service. |
static StartStrategy |
StartStrategies.UNREGISTER
This strategy attempts to start the service immedately. |
Methods in org.apache.xbean.kernel with parameters of type StartStrategy | |
---|---|
void |
Kernel.startService(ServiceName serviceName,
StartStrategy startStrategy)
Immediately starts the service using the specified start strategy. |
void |
Kernel.startServiceRecursive(ServiceName serviceName,
StartStrategy startStrategy)
Immediately starts the service, and if the start ultimately completes successfully, all services owned by the specified service, all services that are owned by those services, and so on, will be started using the startServiceRecursive(ServiceName, StartStrategy) method. |
Uses of StartStrategy in org.apache.xbean.kernel.standard |
---|
Methods in org.apache.xbean.kernel.standard with parameters of type StartStrategy | |
---|---|
void |
ServiceManager.start(boolean recursive,
StartStrategy startStrategy)
Attempts to starts the service. |
void |
StandardKernel.startService(ServiceName serviceName,
StartStrategy startStrategy)
Immediately starts the service using the specified start strategy. |
void |
StandardKernel.startServiceRecursive(ServiceName serviceName,
StartStrategy startStrategy)
Immediately starts the service, and if the start ultimately completes successfully, all services owned by the specified service, all services that are owned by those services, and so on, will be started using the startServiceRecursive(ServiceName, StartStrategy) method. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |