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 Object
implements LoggerRepositoryEventListener
Internal class used to handle listener events from repositories.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
RepositoryListener
private RepositoryListener()
-
-
Method Details
-
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.
-