org.apache.log4j.spi

## Interface Component

- All Known Subinterfaces:
    ConnectionSource
  All Known Implementing Classes:
    ComponentBase, ConnectionSourceSkeleton, CustomSQLDBReceiver, DataSourceConnectionSource, DBReceiver, DriverManagerConnectionSource, Generator, JMSReceiver, JNDIConnectionSource, LogFilePatternReceiver, LogFileXMLReceiver, MulticastReceiver, PluginSkeleton, Receiver, SocketHubReceiver, SocketNode13, SocketReceiver, UDPReceiver, Util, VFSLogFilePatternReceiver, XMLSocketNode, XMLSocketReceiver

      public interface Component

  A common interface shared by log4j components.
  Author:
    Ceki Gulcu

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setLoggerRepository(org.apache.log4j.spi.LoggerRepository repository)` Set owning logger repository for this component.

- - ### Method Detail

    - #### setLoggerRepository

          void setLoggerRepository(org.apache.log4j.spi.LoggerRepository repository)

      Set owning logger repository for this component. This operation can only be performed once. Once set, a subsequent attempt will throw an IllegalStateException.
      Parameters:
        `repository` - The repository where this appender is attached.

Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.