|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IllegalServiceStateException | |
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 IllegalServiceStateException in org.apache.xbean.kernel |
Methods in org.apache.xbean.kernel that throw IllegalServiceStateException | |
void |
Kernel.startService(ServiceName serviceName)
Immediately starts the service using the SYNCHRONOUS start strategy. |
void |
Kernel.startService(ServiceName serviceName,
StartStrategy startStrategy)
Immediately starts the service using the specified start strategy. |
void |
Kernel.startServiceRecursive(ServiceName serviceName)
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) method. |
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 IllegalServiceStateException in org.apache.xbean.kernel.standard |
Methods in org.apache.xbean.kernel.standard that throw IllegalServiceStateException | |
void |
ServiceManager.initialize()
Initializes the service. |
void |
ServiceManager.destroy(StopStrategy stopStrategy)
Attempts to stop and destroy the service. |
void |
ServiceManager.start(boolean recursive,
StartStrategy startStrategy)
Attempts to starts the service. |
void |
StandardKernel.startService(ServiceName serviceName)
Immediately starts the service using the SYNCHRONOUS start strategy. Any exception throw from service constuction is throw directly from this method. If a start condition can not be immediately satisfied, a UnsatisfiedConditionsException will be thrown. If a service already in the RUNNING state, or is not restartable, this method is a noop. If the service is in the STOPPING state an IllegalServiceStateException will be thrown. If the service is disabled, this method will throw an IllegalServiceStateException. This method has no effect on as service that is not restartable. |
void |
StandardKernel.startService(ServiceName serviceName,
StartStrategy startStrategy)
Immediately starts the service using the specified start strategy. The start strategy determines how any exception thrown from service constuction is handled including throwing the exception directly from this method. The start strategy determines what to do if a start condition can not be immediately satisfied. Possibilities include throwing an UnsatisfiedConditionsException, blocking, leaving the service in the RUNNING state, or unregistering the service. If a service already in the RUNNING state, or is not restartable, this method is a noop. If the service is in the STOPPING state an IllegalServiceStateException will be thrown. If the service is disabled, this method will throw an IllegalServiceStateException. This method has no effect on as service that is not restartable. |
void |
StandardKernel.startServiceRecursive(ServiceName serviceName)
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) method. |
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 |