Package 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
,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 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.
-
-