org.exolab.core.service
Class ServiceManager

java.lang.Object
  extended by org.exolab.core.service.ServiceGroup
      extended by org.exolab.core.service.ServiceManager

public class ServiceManager
extends ServiceGroup

The ServiceManager is based on the singleton design pattern and is responsible for managing a collection of Serviceable objects.
All serviceable objects are named and no two sevices can have the same name.

The ServiceManager singleton allows the client to manage a group of Serviceable entities.

Version:
$Revision: 1.8 $ $Date: 2003/06/09 06:28:41 $
Author:
Jim Alateras
See Also:
BasicService, Service, ServiceGroup, Serviceable

Method Summary
static ServiceManager instance()
          Return the single instance of this class.
 
Methods inherited from class org.exolab.core.service.ServiceGroup
add, getServiceByName, getServiceNames, remove, remove, removeAll, startAll, stopAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static ServiceManager instance()
Return the single instance of this class. If need be, create it before returning it.

Returns:
the ServiceManager singleton


Copyright © 1999-2012 The Exolab Group. All Rights Reserved.