org.exolab.jms.service
Interface Serviceable

All Known Subinterfaces:
Services
All Known Implementing Classes:
Service

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

public void start()
           throws ServiceException
Start the service.
Throws:
ServiceException - if the service fails to start, or is already running

stop

public void stop()
          throws ServiceException
Stop the service.
Throws:
ServiceException - if the service fails to stop, or is already stopped


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