|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceRegistrationException | |
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 ServiceRegistrationException in org.apache.xbean.kernel |
Methods in org.apache.xbean.kernel that throw ServiceRegistrationException | |
void |
Kernel.registerService(ServiceName serviceName,
ServiceFactory serviceFactory,
java.lang.ClassLoader classLoader)
Registers a service with this kernel. |
void |
Kernel.unregisterService(ServiceName serviceName)
Unregisters a service from this kernel. |
void |
Kernel.unregisterService(ServiceName serviceName,
StopStrategy stopStrategy)
Unregisters a service from this kernel. |
Uses of ServiceRegistrationException in org.apache.xbean.kernel.standard |
Methods in org.apache.xbean.kernel.standard that throw ServiceRegistrationException | |
void |
StandardKernel.registerService(ServiceName serviceName,
ServiceFactory serviceFactory,
java.lang.ClassLoader classLoader)
Registers a service with this kernel. If the service is restartable, it will enter the server in the STOPPED state. If a service is not restartable, the kernel will assure that all dependencies are satisfied and service will enter the kernel in the RUNNING state. If a dependency for a non-restartable service is not immediately satisfiable, this method will throw a ServiceRegistrationException. |
void |
StandardKernel.unregisterService(ServiceName serviceName)
Unregisters a service from this kernel. The kernel will attempt to stop the service using the SYNCHRONOUS stop strategy, but if it can not stop the service a ServiceRegistrationException will be thrown containing an UnsatisfiedConditionsException. |
void |
StandardKernel.unregisterService(ServiceName serviceName,
StopStrategy stopStrategy)
Unregisters a service from this kernel. The kernel will attempt to stop the service using the specified stop strategy, but if it can not stop the service a ServiceRegistrationException will be thrown containing either an UnsatisfiedConditionsException or a IllegalServiceStateException. |
void |
ServiceManagerRegistry.registerService(ServiceName serviceName,
ServiceFactory serviceFactory,
java.lang.ClassLoader classLoader)
Creates a ServiceManager and registers it under the specified name. |
void |
ServiceManagerRegistry.unregisterService(ServiceName serviceName,
StopStrategy stopStrategy)
Stops and destorys the ServiceManager and then unregisters it. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |