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 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 interface LoggerRepositoryEventListener
      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 interface LoggerRepositoryEventListener
      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 interface LoggerRepositoryEventListener
      Parameters:
      repository - the repository being shutdown.