Package org.ametys.web.cache.zoneitem
Class AbstractZoneItemCacheObserver
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.web.cache.zoneitem.AbstractZoneItemCacheObserver
- All Implemented Interfaces:
Observer,Prioritizable,Supporter<Event>,LogEnabled,Serviceable
- Direct Known Subclasses:
AbstractZoneItemCacheOnContentObserver,AbstractZoneItemCacheOnZoneItemObserver,InvalidateZoneItemCacheOnServiceModificationObserver
public abstract class AbstractZoneItemCacheObserver
extends AbstractLogEnabled
implements Observer, Serviceable
Abstract class for observer related to the management of the ZoneItems cache.
-
Field Summary
FieldsFields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the priority for the component.voidservice(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_zoneItemCache
The ZoneItems cache.
-
-
Constructor Details
-
AbstractZoneItemCacheObserver
public AbstractZoneItemCacheObserver()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getPriority
Description copied from interface:PrioritizableGet the priority for the component. On components usingPrioritizableinterface, each implementation define the order. In most cases, less is the number, more prior is the component.- Specified by:
getPriorityin interfacePrioritizable- Returns:
- the priority
-