Class PluginRegistry.RepositoryListener

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepositoryListener

        private RepositoryListener()
    • 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 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.