Log4j 1.3alpha-6

org.apache.log4j.spi
Interface LoggerRepositoryEventListener


public interface LoggerRepositoryEventListener

Interface used to listen for LoggerRepository related events such as startup, reset, and shutdown. Clients register an instance of the interface and the instance is called back when the various events occur. LoggerRepository provides methods for adding and removing LoggerEventListener instances.

Since:
1.3
Author:
Ceki Gülcü, Mark Womack

Method Summary
 void configurationChangedEvent(LoggerRepository repository)
          Called when the repository configuration is changed.
 void configurationResetEvent(LoggerRepository repository)
          Called when the repository configuration is reset.
 void shutdownEvent(LoggerRepository repository)
          Called when the repository is shutdown.
 

Method Detail

configurationResetEvent

public void configurationResetEvent(LoggerRepository repository)
Called when the repository configuration is reset.


configurationChangedEvent

public void configurationChangedEvent(LoggerRepository repository)
Called when the repository configuration is changed.


shutdownEvent

public void shutdownEvent(LoggerRepository repository)
Called when the repository is shutdown. When this method is invoked, the repository is still valid (ie it has not been shutdown, but will be after this method returns).


Log4j 1.3alpha-6

Copyright 2000-2005 Apache Software Foundation.