The Spring Framework

org.springframework.context.event
Class ConsoleListener

java.lang.Object
  extended by org.springframework.context.event.ConsoleListener
All Implemented Interfaces:
EventListener, ApplicationListener

Deprecated. since Spring 1.2.7: doesn't serve any purpose

public class ConsoleListener
extends 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()
          Deprecated.  
 
Method Summary
 void onApplicationEvent(ApplicationEvent event)
          Deprecated. 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()
Deprecated. 
Method Detail

onApplicationEvent

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

Specified by:
onApplicationEvent in interface ApplicationListener
Parameters:
event - the event to respond to

The Spring Framework

Copyright © 2002-2007 The Spring Framework.