net.jetrix.services
Class AbstractService
java.lang.Object
net.jetrix.services.AbstractService
- All Implemented Interfaces:
- Service
- Direct Known Subclasses:
- ClientListener, CronService, HttpListener, ScheduledService
public abstract class AbstractService
- extends Object
- implements Service
An abstract Service.
- Since:
- 0.2
- Version:
- $Revision: 565 $, $Date: 2005-01-10 17:41:44 +0100 (lun., 10 janv. 2005) $
- Author:
- Emmanuel Bourg
Method Summary |
boolean |
isAutoStart()
Tell if the service is started automatically on server startup. |
void |
setAutoStart(boolean autoStart)
Set the auto start status. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
autoStart
protected boolean autoStart
log
protected static Logger log
AbstractService
public AbstractService()
isAutoStart
public boolean isAutoStart()
- Description copied from interface:
Service
- Tell if the service is started automatically on server startup.
- Specified by:
isAutoStart
in interface Service
setAutoStart
public void setAutoStart(boolean autoStart)
- Description copied from interface:
Service
- Set the auto start status.
- Specified by:
setAutoStart
in interface Service
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.