Interface Component

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

public interface Component
A common interface shared by log4j components.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setLoggerRepository(org.apache.log4j.spi.LoggerRepository repository)
    Set owning logger repository for this component.
  • Method Details

    • 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.