public class LoggerNameModelSupport extends Object implements LoggerNameModel
| Constructor and Description |
|---|
LoggerNameModelSupport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLoggerName(String loggerName)
Attempts to add the loggerName to the model, and returns
true if it does, i.e that the loggerName is new, otherwise
it is ignored.
|
void |
addLoggerNameListener(LoggerNameListener l) |
Collection |
getLoggerNames()
Returns an unmodifiable Collection of the uniquely
known LoggerNames within this model.
|
void |
removeLoggerNameListener(LoggerNameListener l) |
void |
reset()
The logger names have been cleared
|
public Collection getLoggerNames()
LoggerNameModelgetLoggerNames in interface LoggerNameModelpublic boolean addLoggerName(String loggerName)
LoggerNameModeladdLoggerName in interface LoggerNameModelpublic void reset()
LoggerNameModelreset in interface LoggerNameModelpublic void addLoggerNameListener(LoggerNameListener l)
addLoggerNameListener in interface LoggerNameModelpublic void removeLoggerNameListener(LoggerNameListener l)
removeLoggerNameListener in interface LoggerNameModelCopyright © 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.