lumis.portal.event
Interface IPortalEventObserver

Package class diagram package IPortalEventObserver
All Known Implementing Classes:
AbstractPortalEventObserver, ClusterMembershipObserver, ContentIndexerObserver, FileSystemObserver, PageCacheObserver, RssObserver, ServiceInterfaceInstanceDeleteObserver, ServiceInterfaceInstanceObserver, URLConversionCacheObserver

@StableMinor(version="5.5",
             sinceVersion="4.2")
public interface IPortalEventObserver

An observer of IPortalEvent's. All portal event observer implementations must implement this interface.

Instead of implementing this class directly, consider extending AbstractPortalEventObserver.

Since:
4.1.0
See Also:
lumis.portal.event

Method Summary
 IPortalEventFilter getEventFilter()
          Returns the event filter for this observer.
 void onEvent(IPortalEvent event)
          Notifies that an event has been raised.
 

Method Detail

getEventFilter

IPortalEventFilter getEventFilter()
Returns the event filter for this observer.

PortalEventFilters provides methods for generating commonly used filters.

Returns:
a collection of event group identifiers.
Since:
4.1.0
See Also:
PortalEventFilters

onEvent

void onEvent(IPortalEvent event)
             throws PortalException
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
Since:
4.1.0


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