org.jasig.portal.events
Class PortalEventListener

java.lang.Object
  extended by org.jasig.portal.events.PortalEventListener
All Implemented Interfaces:
EventListener, InitializingBean, ApplicationListener

public class PortalEventListener
extends Object
implements ApplicationListener, InitializingBean

Base ApplicationListener for PortalEvents. For each PortalEvent each configured EventHandler will be executed.

Version:
$Revision$
Author:
Eric Dalquist

Constructor Summary
PortalEventListener()
           
 
Method Summary
 void afterPropertiesSet()
           
 EventHandler getEventHandler()
           
 void onApplicationEvent(ApplicationEvent event)
           
 void setEventHandler(EventHandler eventHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalEventListener

public PortalEventListener()
Method Detail

getEventHandler

public EventHandler getEventHandler()
Returns:
the eventHandler

setEventHandler

public void setEventHandler(EventHandler eventHandler)
Parameters:
eventHandler - the eventHandler to set

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

onApplicationEvent

public void onApplicationEvent(ApplicationEvent event)
Specified by:
onApplicationEvent in interface ApplicationListener


Copyright © 2010 Jasig. All Rights Reserved.