org.jboss.shotoku.service
Class ShotokuServiceImpl
java.lang.Object
org.jboss.shotoku.service.AdministratedServiceImpl
org.jboss.shotoku.service.ShotokuServiceImpl
- All Implemented Interfaces:
- AdministratedService, ShotokuService, ShotokuServiceLocal
public class ShotokuServiceImpl
- extends AdministratedServiceImpl
- implements ShotokuService, ShotokuServiceLocal
- Author:
- Adam Warski (adamw@aster.pl)
Methods inherited from class org.jboss.shotoku.service.AdministratedServiceImpl |
afterCreate, afterDestroy, afterStart, getLastUpdate, getLastUpdateDate, getServiceRunnable, getTimerInterval, setLastUpdate, setServiceRunnable, setTimerInterval, startUpdateThread, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShotokuServiceImpl
public ShotokuServiceImpl()
create
public void create()
throws java.lang.Exception
- Specified by:
create
in interface AdministratedService
- Overrides:
create
in class AdministratedServiceImpl
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface AdministratedService
- Overrides:
start
in class AdministratedServiceImpl
- Throws:
java.lang.Exception
destroy
public void destroy()
- Specified by:
destroy
in interface AdministratedService
- Overrides:
destroy
in class AdministratedServiceImpl
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface ShotokuService
put
public void put(java.lang.Object key,
java.lang.Object o)
- Specified by:
put
in interface ShotokuService
remove
public void remove(java.lang.Object key)
- Specified by:
remove
in interface ShotokuService
register
public void register(ShotokuCacheItem cacheItem)
- Specified by:
register
in interface ShotokuService
getNextKeyBase
public java.lang.String getNextKeyBase()
- Description copied from interface:
ShotokuService
- Gets a next unique key base for a shotoku cache item.
- Specified by:
getNextKeyBase
in interface ShotokuService
update
public void update()
- Specified by:
update
in interface AdministratedService
getServiceInstance
public AdministratedService getServiceInstance()
- Specified by:
getServiceInstance
in interface AdministratedService
getServiceId
public java.lang.String getServiceId()
- Specified by:
getServiceId
in interface AdministratedService
getServiceName
public java.lang.String getServiceName()
- Specified by:
getServiceName
in interface AdministratedService
getServiceDescription
public java.lang.String getServiceDescription()
- Specified by:
getServiceDescription
in interface AdministratedService
addAdministratedService
public void addAdministratedService(AdministratedServiceGetter asg)
- Specified by:
addAdministratedService
in interface ShotokuService
getAdministratedServices
public java.util.Set<AdministratedServiceGetter> getAdministratedServices()
- Specified by:
getAdministratedServices
in interface ShotokuService
Copyright © -2006 . All Rights Reserved.