Class ServiceInterfaceInstanceObserver
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEventObserver
-
- lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceObserver
-
- All Implemented Interfaces:
IPortalEventObserver
public class ServiceInterfaceInstanceObserver extends AbstractPortalEventObserver
Observes events of render data changed on a service interface instance and clears its cache.- Since:
- 4.0.0
- Version:
- $Revision: 17156 $ $Date: 2015-03-25 14:39:56 -0300 (Wed, 25 Mar 2015) $
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceInstanceObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPortalEventFilter
getEventFilter()
Returns the event filter for this observer.void
onEvent(IPortalEvent ev)
Notifies that an event has been raised.
-
-
-
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 interfaceIPortalEventObserver
- Overrides:
getEventFilter
in classAbstractPortalEventObserver
- Returns:
- a collection of event group identifiers.
- See Also:
PortalEventFilters
-
onEvent
public void onEvent(IPortalEvent ev) 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:
ev
- the event.- Throws:
PortalException
-
-