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)

Method Summary
 void create()
           
 void destroy()
           
 long getLastUpdate()
           
 java.util.Date getLastUpdateDate()
           
 java.lang.String getServiceDescription()
           
 java.lang.String getServiceId()
           
 AdministratedService getServiceInstance()
           
 java.lang.String getServiceName()
           
 boolean getServiceRunnable()
           
 void setLastUpdate(long lastUpdate)
           
 void setServiceRunnable(boolean runnable)
           
 void start()
           
 void stop()
           
 void update()
           
 

Method Detail

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.