com.epicentric.services
Class AbstractControllable
java.lang.Object
|
+--com.epicentric.services.AbstractControllable
- All Implemented Interfaces:
- Controllable
- public abstract class AbstractControllable
- extends Object
- implements Controllable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
protected ServiceController controller
AbstractControllable
protected AbstractControllable()
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()
Copyright and Trademark Notices