com.interface21.context.support
Class ConsoleListener

java.lang.Object
  |
  +--com.interface21.context.support.ConsoleListener
All Implemented Interfaces:
ApplicationListener, java.util.EventListener

public class ConsoleListener
extends java.lang.Object
implements ApplicationListener

Simple listener for debug use only that logs messages to the console.

Note: The ApplicationContext implementations included in the framework do quite heavy debug-level logging via Log4J, including published events. Thus, this listener isn't necessary for debug logging.

Since:
January 21, 2001
Author:
Rod Johnson

Constructor Summary
ConsoleListener()
           
 
Method Summary
 void onApplicationEvent(ApplicationEvent e)
          Handle an application event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleListener

public ConsoleListener()
Method Detail

onApplicationEvent

public void onApplicationEvent(ApplicationEvent e)
Description copied from interface: ApplicationListener
Handle an application event
Specified by:
onApplicationEvent in interface ApplicationListener
Following copied from interface: com.interface21.context.ApplicationListener
Parameters:
e - event to respond to


Rod Johnson and Spring contributors 2001-2003.