net.jetrix.services
Class AbstractService

java.lang.Object
  extended by 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

Field Summary
protected  boolean autoStart
           
protected static Logger log
           
 
Constructor Summary
AbstractService()
           
 
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
 
Methods inherited from interface net.jetrix.Service
getName, isRunning, start, stop
 

Field Detail

autoStart

protected boolean autoStart

log

protected static Logger log
Constructor Detail

AbstractService

public AbstractService()
Method Detail

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.