public class ArticleDependentCacheHelper<T>
extends neo.nursery.AbstractNurseryService
implements neo.xredsys.api.IOEventFilter, neo.xredsys.api.IOEventListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
mLogger |
Constructor and Description |
---|
ArticleDependentCacheHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptEvent(neo.xredsys.api.IOEvent pEvent) |
neo.util.cache.Cache |
getCache() |
Set<String> |
getContentTypePrefixes() |
neo.xredsys.api.EventManager |
getEventManager() |
T |
getObject(int pContentId) |
neo.xredsys.presentation.PresentationLoader |
getPresentationLoader() |
void |
handleEvent(neo.xredsys.api.IOEvent pEvent) |
void |
putObject(T pObject,
neo.xredsys.presentation.PresentationArticle pContent) |
void |
setCache(neo.util.cache.Cache pCache) |
void |
setContentTypePrefixes(Set<String> pContentTypePrefixes) |
void |
setEventManager(neo.xredsys.api.EventManager pEventManager) |
void |
setPresentationLoader(neo.xredsys.presentation.PresentationLoader pPresentationLoader) |
protected void |
startService() |
protected void |
stopService() |
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
protected void startService() throws IllegalArgumentException
startService
in class neo.nursery.AbstractNurseryService
IllegalArgumentException
protected void stopService() throws IllegalArgumentException
stopService
in class neo.nursery.AbstractNurseryService
IllegalArgumentException
public void putObject(T pObject, neo.xredsys.presentation.PresentationArticle pContent)
public T getObject(int pContentId)
public boolean acceptEvent(neo.xredsys.api.IOEvent pEvent) throws Exception
acceptEvent
in interface neo.xredsys.api.IOEventFilter
Exception
public void handleEvent(neo.xredsys.api.IOEvent pEvent) throws Exception
handleEvent
in interface neo.xredsys.api.IOEventListener
Exception
public neo.util.cache.Cache getCache()
public void setCache(neo.util.cache.Cache pCache)
public neo.xredsys.api.EventManager getEventManager()
public void setEventManager(neo.xredsys.api.EventManager pEventManager)
public neo.xredsys.presentation.PresentationLoader getPresentationLoader()
public void setPresentationLoader(neo.xredsys.presentation.PresentationLoader pPresentationLoader)
© 1998- 2017 Escenic AS