Class PluginRegistry.RepositoryListener
java.lang.Object
org.apache.log4j.component.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 TypeMethodDescriptionvoidconfigurationChangedEvent(org.apache.log4j.spi.LoggerRepository repository) Called when the repository configuration is changed.voidconfigurationResetEvent(org.apache.log4j.spi.LoggerRepository repository) Stops all plugins associated with the repository being reset.voidshutdownEvent(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:
configurationResetEventin 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:
configurationChangedEventin 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:
shutdownEventin interfaceLoggerRepositoryEventListener- Parameters:
repository- the repository being shutdown.
-