Package lumis.portal.event

Package class diagram package lumis.portal.event
The portal event framework allows the sending of events and the register of observers to receive such events.

See:
          Description

Interface Summary
IPortalEvent All portal events must implement this interface.
IPortalEventFilter Filters IPortalEvent instances, indicating which ones should be accepted.
IPortalEventManager Provides operations and access to the portal monitoring framework.
IPortalEventObserver An observer of IPortalEvent's.
 

Class Summary
AbstractPortalEvent An abstract implementation for IPortalEvent.
AbstractPortalEventObserver An abstract implementation for IPortalEventObserver.
AbstractTransactionalPortalEvent An event that is raised inside a transactional context.
BaseNotificationConfig Deprecated. Since 4.1.0, replaced by IPortalEventObserver and its implementations, such as AbstractPortalEvent and AbstractTransactionalPortalEvent.
ObserverConfig The registration of an event observer class.
PortalEventFilters Provides utility methods for IPortalEventFilter manipulation.
PortalEventManager Implementation of event management.
 

Enum Summary
PortalEventOperationType Specifies the type of operation that raised a IPortalEvent.
 

Package lumis.portal.event Description

The portal event framework allows the sending of events and the register of observers to receive such events.

Operations of the event framework are available in the IPortalEventManager interface, whose instance is available at ManagerFactory.getPortalEventManager().

Events must implement IPortalEvent. The events may be sent using the IPortalEventManager.notifyObservers(lumis.portal.event.IPortalEvent) method. The abstract event implementations AbstractPortalEvent and AbstractTransactionalPortalEvent makes creating new events easier.

Observers must implement IPortalEventObserver. Observers may be registered using the IPortalEventManager API or using the Portal Configuration front-end. It is recommended to extend the AbstractPortalEventObserver class instead of implementing the observer interface directly.

When the IPortalEventManager.notifyObservers(IPortalEvent) method is called, each enabled observer is notified of the given event through the IPortalEventObserver.onEvent(IPortalEvent) method, if that observer's filter (specified by IPortalEventObserver.getEventFilter()) accepts the event.

The execution of IPortalEventFilter.accept(IPortalEvent) and IPortalEventObserver.onEvent(IPortalEvent) must not be time consuming, as it may impact the overall time response of the portal.

Since:
4.0.0
See Also:
IPortalEvent, IPortalEventObserver, IPortalEventManager


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