org.springframework.context.event
Class ConsoleListener
java.lang.Object
org.springframework.context.event.ConsoleListener
- All Implemented Interfaces:
- EventListener, ApplicationListener
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleListener
public ConsoleListener()
onApplicationEvent
public void onApplicationEvent(ApplicationEvent event)
- Description copied from interface:
ApplicationListener
- Handle an application event.
- Specified by:
onApplicationEvent
in interface ApplicationListener
- Parameters:
event
- the event to respond to
Copyright (c) 2002-2005 The Spring Framework Project.