org.exolab.jms.service
Interface Serviceable

All Known Subinterfaces:
Services
All Known Implementing Classes:
AuthenticationMgr, BasicEventManager, BasicService, ConnectorService, ConsumerManagerImpl, DatabaseService, DestinationBinder, DestinationConfigurator, DestinationManagerImpl, GarbageCollectionService, LeaseManager, MessageMgr, ResourceManager, Scheduler, Service, ServiceManager, UserManager

public interface Serviceable

This interface defines a protocol for serviceable objects. A serviceable object is one that can be controlled through start, stop etc.

Version:
$Revision: 1.2 $ $Date: 2005/08/30 04:56:14 $
Author:
Jim Alateras
See Also:
BasicService

Method Summary
 void start()
          Start the service.
 void stop()
          Stop the service.
 

Method Detail

start

void start()
           throws ServiceException
Start the service.

Throws:
ServiceException - if the service fails to start, or is already running

stop

void stop()
          throws ServiceException
Stop the service.

Throws:
ServiceException - if the service fails to stop, or is already stopped


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