[logback-dev] svn commit: r2126 - logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Fri Jan 9 19:17:44 CET 2009
Author: ceki
Date: Fri Jan 9 19:17:44 2009
New Revision: 2126
Modified:
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessContext.java
Log:
- javadoc changes
Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessContext.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessContext.java (original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessContext.java Fri Jan 9 19:17:44 2009
@@ -13,21 +13,21 @@
import ch.qos.logback.core.spi.FilterReply;
/**
- * This class is a context that can be used
- * by access to provide the basic functionnalities of a context
- * to its components, mainly SocketServer.
- *
+ * A minimal context implementation used by certain logback-access components,
+ * mainly SocketServer.
+ *
* @author Sébastien Pennec
*/
-public class AccessContext extends ContextBase implements AppenderAttachable<AccessEvent>, FilterAttachable<AccessEvent> {
+public class AccessContext extends ContextBase implements
+ AppenderAttachable<AccessEvent>, FilterAttachable<AccessEvent> {
AppenderAttachableImpl<AccessEvent> aai = new AppenderAttachableImpl<AccessEvent>();
FilterAttachableImpl<AccessEvent> fai = new FilterAttachableImpl<AccessEvent>();
-
+
public void callAppenders(AccessEvent event) {
aai.appendLoopOnAppenders(event);
}
-
+
public void addAppender(Appender<AccessEvent> newAppender) {
aai.addAppender(newAppender);
}
@@ -57,7 +57,7 @@
}
public void addFilter(Filter<AccessEvent> newFilter) {
- fai.addFilter(newFilter);
+ fai.addFilter(newFilter);
}
public void clearAllFilters() {
@@ -67,7 +67,7 @@
public List<Filter<AccessEvent>> getCopyOfAttachedFiltersList() {
return fai.getCopyOfAttachedFiltersList();
}
-
+
public FilterReply getFilterChainDecision(AccessEvent event) {
return fai.getFilterChainDecision(event);
}
More information about the logback-dev
mailing list