|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceMonitor | |
---|---|
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 ServiceMonitor in org.apache.xbean.kernel |
---|
Classes in org.apache.xbean.kernel that implement ServiceMonitor | |
---|---|
class |
NullServiceMonitor
The NullServiceMonitor is a simple implementation of ServiceMonitor containing a noop implementaion of each callback. |
Methods in org.apache.xbean.kernel with parameters of type ServiceMonitor | |
---|---|
void |
Kernel.addServiceMonitor(ServiceMonitor serviceMonitor)
Adds a service monitor for all services registered with the kernel. |
void |
Kernel.addServiceMonitor(ServiceMonitor serviceMonitor,
ServiceName serviceName)
Adds a service monitor for a specific service. |
void |
Kernel.removeServiceMonitor(ServiceMonitor serviceMonitor)
Removes a service monitor. |
void |
KernelMonitor.serviceNotificationError(ServiceMonitor serviceMonitor,
ServiceEvent serviceEvent,
Throwable throwable)
An error occured with notifiying a service monitor. |
Uses of ServiceMonitor in org.apache.xbean.kernel.standard |
---|
Classes in org.apache.xbean.kernel.standard that implement ServiceMonitor | |
---|---|
class |
AsyncServiceMonitor
The AsyncServiceMonitor delivers service events to a delegate ServiceMonitor asynchronously using an executor. |
class |
ServiceMonitorBroadcaster
The ServiceMonitorBroadcaster broadcasts kernel events to registered service monitors. |
Methods in org.apache.xbean.kernel.standard with parameters of type ServiceMonitor | |
---|---|
void |
StandardKernel.addServiceMonitor(ServiceMonitor serviceMonitor)
Adds a service monitor for all services registered with the kernel. |
void |
ServiceMonitorBroadcaster.addServiceMonitor(ServiceMonitor serviceMonitor,
ServiceName serviceName)
Adds a service monitor for a specific service, or if the specified service name is null, a global monitor. |
void |
StandardKernel.addServiceMonitor(ServiceMonitor serviceMonitor,
ServiceName serviceName)
Adds a service monitor for a specific service. |
void |
ServiceMonitorBroadcaster.removeServiceMonitor(ServiceMonitor serviceMonitor)
Removes a service monitor. |
void |
StandardKernel.removeServiceMonitor(ServiceMonitor serviceMonitor)
Removes a service monitor. |
void |
KernelMonitorBroadcaster.serviceNotificationError(ServiceMonitor serviceMonitor,
ServiceEvent serviceEvent,
Throwable throwable)
An error occured with notifiying a service monitor. |
Constructors in org.apache.xbean.kernel.standard with parameters of type ServiceMonitor | |
---|---|
AsyncServiceMonitor(ServiceMonitor delegate,
Executor executor)
Creates a AsyncServiceMonitor which asynchronously delivers service events to specified delegate ServiceMonitor using the specified executor. |
|
ServiceManager(Kernel kernel,
long serviceId,
ServiceName serviceName,
ServiceFactory serviceFactory,
ServiceMonitor serviceMonitor,
long timeoutDuration,
TimeUnit timeoutUnits)
Creates a service manager for a single service. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |