org.jboss.shotoku.service
Class AdministratedServiceImpl
java.lang.Object
org.jboss.shotoku.service.AdministratedServiceImpl
- All Implemented Interfaces:
- AdministratedService
- Direct Known Subclasses:
- ShotokuServiceImpl
public abstract class AdministratedServiceImpl
- extends java.lang.Object
- implements AdministratedService
- Author:
- Adam Warski (adamw@aster.pl)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdministratedServiceImpl
public AdministratedServiceImpl()
getLastUpdate
public long getLastUpdate()
- Specified by:
getLastUpdate in interface AdministratedService
getLastUpdateDate
public java.util.Date getLastUpdateDate()
- Specified by:
getLastUpdateDate in interface AdministratedService
setLastUpdate
public void setLastUpdate(long lastUpdate)
- Specified by:
setLastUpdate in interface AdministratedService
getServiceRunnable
public boolean getServiceRunnable()
- Specified by:
getServiceRunnable in interface AdministratedService
setServiceRunnable
public void setServiceRunnable(boolean runnable)
- Specified by:
setServiceRunnable in interface AdministratedService
setTimerInterval
public void setTimerInterval(long timerInterval)
getTimerInterval
public long getTimerInterval()
create
public void create()
throws java.lang.Exception
- Specified by:
create in interface AdministratedService
- Throws:
java.lang.Exception
afterCreate
public void afterCreate()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface AdministratedService
- Throws:
java.lang.Exception
afterStart
public void afterStart()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop in interface AdministratedService
destroy
public void destroy()
- Specified by:
destroy in interface AdministratedService
afterDestroy
public void afterDestroy()
startUpdateThread
public void startUpdateThread()
Copyright © -2006 . All Rights Reserved.