org.jasig.portal.events.handlers
Class LoggingEventHandler

java.lang.Object
  extended by org.jasig.portal.events.handlers.AbstractLimitedSupportEventHandler
      extended by org.jasig.portal.events.handlers.LoggingEventHandler
All Implemented Interfaces:
EventHandler

public final class LoggingEventHandler
extends AbstractLimitedSupportEventHandler

Instance of Event Handler that delegates to Commons Logging and writes out events at the INFO level.

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

Field Summary
 
Fields inherited from class org.jasig.portal.events.handlers.AbstractLimitedSupportEventHandler
logger
 
Constructor Summary
LoggingEventHandler()
           
 
Method Summary
 void handleEvent(PortalEvent event)
          Method to handle any processing of the event that is needed.
 void setLogCategory(String logCategory)
           
 
Methods inherited from class org.jasig.portal.events.handlers.AbstractLimitedSupportEventHandler
getIgnoredUserNames, getSupportedEvents, getSupportedUserNames, isExplicitMatching, isRequireAll, isSupportGuest, setExplicitMatching, setIgnoredUserNames, setRequireAll, setSupportedEvents, setSupportedUserNames, setSupportGuest, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingEventHandler

public LoggingEventHandler()
Method Detail

setLogCategory

public void setLogCategory(String logCategory)
Parameters:
logCategory - A custom log category to use

handleEvent

public void handleEvent(PortalEvent event)
Description copied from interface: EventHandler
Method to handle any processing of the event that is needed.

Parameters:
event - the event to handle.


Copyright © 2010 Jasig. All Rights Reserved.