lumis.portal.page.cache
Class PageCacheObserver

Package class diagram package PageCacheObserver
java.lang.Object
  extended by lumis.portal.event.AbstractPortalEventObserver
      extended by lumis.portal.page.cache.PageCacheObserver
All Implemented Interfaces:
IPortalEventObserver

public class PageCacheObserver
extends AbstractPortalEventObserver

Observer that clears page caches according to the notifications received.

Since:
4.0.0

Constructor Summary
PageCacheObserver()
           
 
Method Summary
 IPortalEventFilter getEventFilter()
          Returns the event filter for this observer.
 void onEvent(IPortalEvent event)
          Notifies that an event has been raised.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageCacheObserver

public PageCacheObserver()
Method Detail

getEventFilter

public IPortalEventFilter getEventFilter()
Description copied from interface: IPortalEventObserver
Returns the event filter for this observer.

PortalEventFilters provides methods for generating commonly used filters.

Specified by:
getEventFilter in interface IPortalEventObserver
Overrides:
getEventFilter in class AbstractPortalEventObserver
Returns:
a collection of event group identifiers.
See Also:
PortalEventFilters

onEvent

public void onEvent(IPortalEvent event)
             throws PortalException
Description copied from interface: IPortalEventObserver
Notifies that an event has been raised. This method will be called only for events that belong to the groups specified by #getExpectedEventGroups().

Important: The implementation of this method must not be time consuming, as it may impact the overall time response of the portal.

Parameters:
event - the event.
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.