Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.event.authorization
Class LoggerListener  view LoggerListener download LoggerListener.java

java.lang.Object
  extended byorg.acegisecurity.event.authorization.LoggerListener
All Implemented Interfaces:
org.springframework.context.ApplicationListener, java.util.EventListener

public class LoggerListener
extends java.lang.Object
implements org.springframework.context.ApplicationListener

Outputs interceptor-related application events to Commons Logging.

All failures are logged at the warning level, with success events logged at the information level, and public invocation events logged at the debug level.

Version:
$Id: LoggerListener.java,v 1.2 2005/11/17 00:56:09 benalex Exp $

Field Summary
private static org.apache.commons.logging.Log logger
           
 
Constructor Summary
LoggerListener()
           
 
Method Summary
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
          Handle an application event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.commons.logging.Log logger
Constructor Detail

LoggerListener

public LoggerListener()
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Description copied from interface: org.springframework.context.ApplicationListener
Handle an application event.

Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener