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(Class type)
          Gets the first service factory registered with the kernel that creates an instance of the specified type.
 ServiceFactory Kernel.getServiceFactory(ServiceName serviceName)
          Gets the service factory registered under the specified name.
 

Methods in org.apache.xbean.kernel with parameters of type ServiceFactory
 void Kernel.registerService(ServiceName serviceName, ServiceFactory serviceFactory)
          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, ClassLoader classLoader, Object service, Throwable cause, 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(Class type)
          Gets the first service factory registered with the kernel that creates an instance of the specified type.
 ServiceFactory StandardKernel.getServiceFactory(ServiceName serviceName)
          Gets the service factory registered under the specified name.
 

Methods in org.apache.xbean.kernel.standard with parameters of type ServiceFactory
 ServiceManager ServiceManagerFactory.createServiceManager(long serviceId, ServiceName serviceName, ServiceFactory serviceFactory)
          Creates a ServiceManager.
 void StandardKernel.registerService(ServiceName serviceName, ServiceFactory serviceFactory)
          Registers a service with this kernel.
 void ServiceManagerRegistry.registerService(ServiceName serviceName, ServiceFactory serviceFactory)
          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, ClassLoader classLoader, Lock lock, ServiceFactory serviceFactory)
          Creates a NonRestartableStopCondition.
ServiceManager(Kernel kernel, long serviceId, ServiceName serviceName, ServiceFactory serviceFactory, ServiceMonitor serviceMonitor, long timeoutDuration, TimeUnit timeoutUnits)
          Creates a service manager for a single service.
 



Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.