Uses of Interface
org.apache.xbean.kernel.ServiceMonitor

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, java.lang.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 KernelMonitorBroadcaster.serviceNotificationError(ServiceMonitor serviceMonitor, ServiceEvent serviceEvent, java.lang.Throwable throwable)
          An error occured with notifiying a service monitor.
 void StandardKernel.addServiceMonitor(ServiceMonitor serviceMonitor)
          Adds a service monitor for all services registered with the kernel. This method is equivalent to:

     addServiceMonitor(serviceMonitor, null);
 

Note: the order in which service monitors are notified is not specified.

 void StandardKernel.addServiceMonitor(ServiceMonitor serviceMonitor, ServiceName serviceName)
          Adds a service monitor for a specific service.

Note: the order in which service monitors are notified is not specified.

 void StandardKernel.removeServiceMonitor(ServiceMonitor serviceMonitor)
          Removes a service monitor.
 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 ServiceMonitorBroadcaster.removeServiceMonitor(ServiceMonitor serviceMonitor)
          Removes a service monitor.
 

Constructors in org.apache.xbean.kernel.standard with parameters of type ServiceMonitor
ServiceManager(Kernel kernel, long serviceId, ServiceName serviceName, ServiceFactory serviceFactory, java.lang.ClassLoader classLoader, ServiceMonitor serviceMonitor, long timeoutDuration, edu.emory.mathcs.backport.java.util.concurrent.TimeUnit timeoutUnits)
          Creates a service manager for a single service.
AsyncServiceMonitor(ServiceMonitor delegate, edu.emory.mathcs.backport.java.util.concurrent.Executor executor)
          Creates a AsyncServiceMonitor which asynchronously delivers service events to specified delegate ServiceMonitor using the specified executor.
 



Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.