org.jboss.portal.core.samples.basic.event
Class PortletB.Listener

java.lang.Object
  extended by org.jboss.portal.core.samples.basic.event.PortletB.Listener
All Implemented Interfaces:
PortalNodeEventListener
Enclosing class:
PortletB

public static class PortletB.Listener
extends java.lang.Object
implements PortalNodeEventListener


Constructor Summary
PortletB.Listener()
           
 
Method Summary
 PortalNodeEvent onEvent(PortalNodeEventContext context, PortalNodeEvent event)
          Dispatch an event to the listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletB.Listener

public PortletB.Listener()
Method Detail

onEvent

public PortalNodeEvent onEvent(PortalNodeEventContext context,
                               PortalNodeEvent event)
Description copied from interface: PortalNodeEventListener
Dispatch an event to the listener.

Specified by:
onEvent in interface PortalNodeEventListener
Parameters:
context - the context in which the event is triggered
event - the fired event
Returns:
an possible new events that will replace the current event or null to keep the same event