Save This Page
Home » spring-framework-2.5.4 » org.springframework » context » event » [javadoc | source]
org.springframework.context.event
public class: ConsoleListener [javadoc | source]
java.lang.Object
   org.springframework.context.event.ConsoleListener

All Implemented Interfaces:
    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.

Method from org.springframework.context.event.ConsoleListener Summary:
onApplicationEvent
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.context.event.ConsoleListener Detail:
 public  void onApplicationEvent(ApplicationEvent event)