org.locomotive.directory.loco
Class ServiceList
java.lang.Object
|
+--org.locomotive.directory.loco.ServiceList
- public class ServiceList
- extends java.lang.Object
- implements LocomotiveService
This class is configured with array of services names that
will be started when this component is resolved.
- Version:
- $Id: ServiceList.java,v 1.2 1999/05/05 10:19:32 gunnar Exp $
- Author:
- Gunnar Rønning (gunnar@candleweb.no).
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ServiceList
public ServiceList()
setServices
public void setServices(java.lang.Object[] services)
getServices
public java.lang.Object[] getServices()
isRunning
public boolean isRunning()
- Description copied from interface: LocomotiveService
- Return true if this service is running, false otherwise.
- Specified by:
- isRunning in interface LocomotiveService
startService
public void startService()
throws ServiceException
- Description copied from interface: LocomotiveService
- Start the service.
- Specified by:
- startService in interface LocomotiveService
stopService
public void stopService()
throws ServiceException
- Description copied from interface: LocomotiveService
- Stop the service.
- Specified by:
- stopService in interface LocomotiveService