org.apache.log4j.component.spi

## Interface Component

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

      public interface Component

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

- - ### Method Summary

    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 © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.