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

Packages that use ServiceFactory
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 ServiceFactory in org.apache.xbean.kernel
 

Classes in org.apache.xbean.kernel that implement ServiceFactory
 class AbstractServiceFactory
          AbstractServiceFactory is an implementation of ServiceFactory that handles all of the mundane issues.
 class StaticServiceFactory
          A basic service factory that always creates the supplied object.
 

Methods in org.apache.xbean.kernel that return ServiceFactory
 ServiceFactory ServiceEvent.getServiceFactory()
          Gets the service factory for the service.
 ServiceFactory Kernel.getServiceFactory(ServiceName serviceName)
          Gets the service factory registered under the specified name.
 ServiceFactory Kernel.getServiceFactory(java.lang.Class type)
          Gets the first service factory registered with the kernel that creates an instance of the specified type.
 

Methods in org.apache.xbean.kernel with parameters of type ServiceFactory
 void Kernel.registerService(ServiceName serviceName, ServiceFactory serviceFactory, java.lang.ClassLoader classLoader)
          Registers a service with this kernel.
 

Constructors in org.apache.xbean.kernel with parameters of type ServiceFactory
ServiceEvent(long eventId, Kernel kernel, ServiceName serviceName, ServiceFactory serviceFactory, java.lang.ClassLoader classLoader, java.lang.Object service, java.lang.Throwable cause, java.util.Set unsatisfiedConditions)
          Creates a service event.
 

Uses of ServiceFactory in org.apache.xbean.kernel.standard
 

Methods in org.apache.xbean.kernel.standard that return ServiceFactory
 ServiceFactory ServiceManager.getServiceFactory()
          Gets the factory used to create and destroy the service instance.
 ServiceFactory StandardKernel.getServiceFactory(ServiceName serviceName)
          Gets the service factory registered under the specified name.
 ServiceFactory StandardKernel.getServiceFactory(java.lang.Class type)
          Gets the first service factory registered with the kernel that creates an instance of the specified type. If no service factories create an instance of the specified type, null is returned.
 

Methods in org.apache.xbean.kernel.standard with parameters of type ServiceFactory
 ServiceManager ServiceManagerFactory.createServiceManager(long serviceId, ServiceName serviceName, ServiceFactory serviceFactory, java.lang.ClassLoader classLoader)
          Creates a ServiceManager.
 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 ServiceManagerRegistry.registerService(ServiceName serviceName, ServiceFactory serviceFactory, java.lang.ClassLoader classLoader)
          Creates a ServiceManager and registers it under the specified name.
 

Constructors in org.apache.xbean.kernel.standard with parameters of type ServiceFactory
NonRestartableStopCondition(Kernel kernel, ServiceName serviceName, java.lang.ClassLoader classLoader, edu.emory.mathcs.backport.java.util.concurrent.locks.Lock lock, ServiceFactory serviceFactory)
          Creates a NonRestartableStopCondition.
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.
 



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