02/28/2005
 

com.epicentric.services
Class AbstractControllable

java.lang.Object
  |
  +--com.epicentric.services.AbstractControllable
All Implemented Interfaces:
Controllable

public abstract class AbstractControllable
extends Object
implements Controllable


Field Summary
protected  ServiceController controller
           
 
Constructor Summary
protected AbstractControllable()
           
 
Method Summary
protected abstract  ServiceController createController()
           
 ServiceController getServiceController()
           
 void init(ServiceConfiguration serviceConfiguration)
          Initializes the service.
 void start()
          Starts the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

controller

protected ServiceController controller
Constructor Detail

AbstractControllable

protected AbstractControllable()
Method Detail

getServiceController

public ServiceController getServiceController()
Specified by:
getServiceController in interface Controllable

start

public void start()
           throws ServiceException
Description copied from interface: Controllable
Starts the service. Called after the Controllable.init(ServiceConfiguration) method.
Specified by:
start in interface Controllable

init

public void init(ServiceConfiguration serviceConfiguration)
          throws ServiceException
Description copied from interface: Controllable
Initializes the service. Called before the Controllable.start() method. Any work that must be done before the service starts should be performed in this method.
Specified by:
init in interface Controllable

createController

protected abstract ServiceController createController()

02/28/2005
 

Copyright and Trademark Notices