org.jboss.shotoku.service
Interface AdministratedService
- All Known Subinterfaces:
- ShotokuService
- All Known Implementing Classes:
- AdministratedServiceImpl, ShotokuServiceImpl
public interface AdministratedService
A base class for services that can be started and stopped via the
ShotokuAdmin web application and are periodically updated.
- Author:
- Adam Warski (adamw@aster.pl)
getLastUpdate
long getLastUpdate()
getLastUpdateDate
java.util.Date getLastUpdateDate()
setLastUpdate
void setLastUpdate(long lastUpdate)
getServiceRunnable
boolean getServiceRunnable()
setServiceRunnable
void setServiceRunnable(boolean runnable)
getServiceId
java.lang.String getServiceId()
getServiceName
java.lang.String getServiceName()
getServiceDescription
java.lang.String getServiceDescription()
update
void update()
getServiceInstance
AdministratedService getServiceInstance()
create
void create()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
void stop()
destroy
void destroy()
Copyright © -2006 . All Rights Reserved.