public class InvalidateZoneItemCacheOnContentCommentedObserver extends AbstractZoneItemCacheObserver
| Modifier and Type | Field and Description | 
|---|---|
private AmetysObjectResolver | 
_resolver  | 
_zoneItemCacheMAX_PRIORITY, MIN_PRIORITY| Constructor and Description | 
|---|
InvalidateZoneItemCacheOnContentCommentedObserver()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
observe(Event event,
       Map<String,Object> transientVars)
Observes an event. 
 | 
void | 
service(ServiceManager manager)  | 
boolean | 
supports(Event event)
Checks if the event is supported. 
 | 
getPriorityenableLogging, getLogger, setupLogger, setupLogger, setupLoggerprivate AmetysObjectResolver _resolver
public InvalidateZoneItemCacheOnContentCommentedObserver()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractZoneItemCacheObserverServiceExceptionpublic boolean supports(Event event)
Observerevent - the event.true for observing this event, false otherwise.public void observe(Event event, Map<String,Object> transientVars) throws Exception
Observerevent - the event.transientVars - transientVars passed from one Observer to another when processing a single Event. 
 This may allow optimizations between observers.Exception - if an error occurs. 
 All exceptions will be logged but not propagated, as the observation mechanism should never fail.