james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r756438 - /james/protocols/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapSession.java
Date Fri, 20 Mar 2009 12:54:08 GMT
Author: rdonkin
Date: Fri Mar 20 12:54:08 2009
New Revision: 756438

URL: http://svn.apache.org/viewvc?rev=756438&view=rev
Log:
Expose getLog through the ImapSession interface IMAP-75 https://issues.apache.org/jira/browse/IMAP-75

Modified:
    james/protocols/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapSession.java

Modified: james/protocols/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapSession.java
URL: http://svn.apache.org/viewvc/james/protocols/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapSession.java?rev=756438&r1=756437&r2=756438&view=diff
==============================================================================
--- james/protocols/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapSession.java
(original)
+++ james/protocols/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapSession.java
Fri Mar 20 12:54:08 2009
@@ -19,6 +19,7 @@
 
 package org.apache.james.imap.api.process;
 
+import org.apache.commons.logging.Log;
 import org.apache.james.imap.api.ImapSessionState;
 
 /**
@@ -29,6 +30,15 @@
  * @version $Revision: 109034 $
  */
 public interface ImapSession {
+    
+    /**
+     * Gets the context sensitive log for this session.
+     * Understanding the context of a log message is an important
+     * comprehension aid when analying multi-threaded systems.
+     * Using this log allows context information to be associated.
+     * @return context sensitive log, not null
+     */
+    Log getLog();
 
     /**
      * Logs out the session. Marks the connection for closure;



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message