org.jasig.portal.events
Interface EventHandler

All Known Subinterfaces:
BatchingEventHandler
All Known Implementing Classes:
AbstractLimitedSupportEventHandler, JpaPortalEventStore, LoggingEventHandler, PortalEventMulticaster, QueueingEventHandler, StatsRecorderEventHandlerAdapter

public interface EventHandler

Interface of classes that know how to handle a specific event. The concept of handling an event usually implies that the handler will perform some form of logging such as using Log4j or writing the information to a database.

Since:
3.0
Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
Scott Battaglia

Method Summary
 void handleEvent(PortalEvent event)
          Method to handle any processing of the event that is needed.
 boolean supports(PortalEvent event)
          Method to check if this handler will be able to process the event.
 

Method Detail

handleEvent

void handleEvent(PortalEvent event)
Method to handle any processing of the event that is needed.

Parameters:
event - the event to handle.

supports

boolean supports(PortalEvent event)
Method to check if this handler will be able to process the event.

Parameters:
event - the event we want to check if we support.
Returns:
true if the event is supported, false otherwise.


Copyright © 2010 Jasig. All Rights Reserved.