Package org.apache.log4j.plugins
Class PluginRegistry.RepositoryListener
- java.lang.Object
-
- org.apache.log4j.plugins.PluginRegistry.RepositoryListener
-
- All Implemented Interfaces:
LoggerRepositoryEventListener
- Enclosing class:
- PluginRegistry
private class PluginRegistry.RepositoryListener extends java.lang.Object implements LoggerRepositoryEventListener
Internal class used to handle listener events from repositories.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RepositoryListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configurationChangedEvent(org.apache.log4j.spi.LoggerRepository repository)
Called when the repository configuration is changed.void
configurationResetEvent(org.apache.log4j.spi.LoggerRepository repository)
Stops all plugins associated with the repository being reset.void
shutdownEvent(org.apache.log4j.spi.LoggerRepository repository)
Stops all plugins associated with the repository being shutdown.
-
-
-
Method Detail
-
configurationResetEvent
public void configurationResetEvent(org.apache.log4j.spi.LoggerRepository repository)
Stops all plugins associated with the repository being reset.- Specified by:
configurationResetEvent
in interfaceLoggerRepositoryEventListener
- Parameters:
repository
- the repository that was reset.
-
configurationChangedEvent
public void configurationChangedEvent(org.apache.log4j.spi.LoggerRepository repository)
Called when the repository configuration is changed.- Specified by:
configurationChangedEvent
in interfaceLoggerRepositoryEventListener
- Parameters:
repository
- the repository that was changed.
-
shutdownEvent
public void shutdownEvent(org.apache.log4j.spi.LoggerRepository repository)
Stops all plugins associated with the repository being shutdown.- Specified by:
shutdownEvent
in interfaceLoggerRepositoryEventListener
- Parameters:
repository
- the repository being shutdown.
-
-