james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r531343 - in /james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf: core/ impl/ macro/ policies/ policies/local/ terms/
Date Mon, 23 Apr 2007 06:05:37 GMT
Author: norman
Date: Sun Apr 22 23:05:36 2007
New Revision: 531343

URL: http://svn.apache.org/viewvc?view=rev&rev=531343
Log:
Add some javadocs

Modified:
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSLookupContinuation.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSService.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponse.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponseQueue.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFChecker.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFCheckerExceptionCatcher.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFExecutor.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFSession.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/StagedMultipleSPFExecutor.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SynchronousSPFExecutor.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/impl/DNSServiceXBillImpl.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/macro/MacroExpand.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/NeutralIfNotMatchPolicy.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFRetriever.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFStrictCheckerRetriever.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/local/DefaultExplanationPolicy.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/ExpModifier.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/IncludeMechanism.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/MXMechanism.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/PTRMechanism.java
    james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/RedirectModifier.java

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSLookupContinuation.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSLookupContinuation.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSLookupContinuation.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSLookupContinuation.java
Sun Apr 22 23:05:36 2007
@@ -29,10 +29,20 @@
         this.listener = listener;
     }
 
+    /**
+     * Return the DNSRequest which was used
+     * 
+     * @return request
+     */
     public DNSRequest getRequest() {
         return request;
     }
 
+    /**
+     * Return the SPFCheckerDNSResponseListener which should called for the DNSRequest
+     * 
+     * @return listener
+     */
     public SPFCheckerDNSResponseListener getListener() {
         return listener;
     }

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSService.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSService.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSService.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/DNSService.java
Sun Apr 22 23:05:36 2007
@@ -54,6 +54,14 @@
     public List getRecords(String hostname, int recordType) throws TimeoutException;
     
     
+    /**
+     * Execute the query and store the response in the given IResponseQueue
+     * 
+     * @param hostname host to be queried
+     * @param recordType the record type: MX, A, AAAA, PTR, TXT, SPF
+     * @param id the id which will be used to store the response to the queue
+     * @param responsePool the queue in which the response will get stored
+     */
     public void getRecordsAsynch(String hostname, int recordType, Object id, IResponseQueue
responsePool);
     
 

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponse.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponse.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponse.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponse.java
Sun Apr 22 23:05:36 2007
@@ -21,10 +21,25 @@
 
 public interface IResponse {
     
+    /**
+     * Get id of the IResponse object
+     * 
+     * @return id
+     */
     public Object getId();
     
+    /**
+     * Get the value which is stored in the IResponse object
+     * 
+     * @return object
+     */
     public Object getValue();
     
+    /**
+     * Return the exception which was stored for the IResponse object
+     * 
+     * @return exception
+     */
     public Exception getException();
 
 }

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponseQueue.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponseQueue.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponseQueue.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/IResponseQueue.java
Sun Apr 22 23:05:36 2007
@@ -22,10 +22,25 @@
 import java.util.List;
 
 
+/**
+ * Queue implementation which is used to manage IResponse
+ *
+ */
 public interface IResponseQueue extends List {
     
+    /**
+     * Return the last IResponse in the queue. If the queue is empty it will
+     * wait until a IResponse was added
+     * 
+     * @return response
+     */
     public IResponse removeResponse();
     
+    /**
+     *  Add the given Response to the end of the queue. 
+     *  
+     * @param r
+     */
     public void insertResponse(IResponse r);
 
 }

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFChecker.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFChecker.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFChecker.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFChecker.java
Sun Apr 22 23:05:36 2007
@@ -47,6 +47,8 @@
     public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
             TempErrorException, NeutralException, NoneException;
 
+//    TODO: Can we remove this ?
+    
 //    /**
 //     * Temporary, to evaluate impact on the redesign.
 //     */

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFCheckerExceptionCatcher.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFCheckerExceptionCatcher.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFCheckerExceptionCatcher.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFCheckerExceptionCatcher.java
Sun Apr 22 23:05:36 2007
@@ -24,8 +24,22 @@
 import org.apache.james.jspf.exceptions.PermErrorException;
 import org.apache.james.jspf.exceptions.TempErrorException;
 
+/**
+ * 
+ *
+ */
 public interface SPFCheckerExceptionCatcher {
     
+    /**
+     * Take some action on the given Exception
+     * 
+     * @param exception the exception
+     * @param session the SPFSession
+     * @throws PermErrorException
+     * @throws NoneException
+     * @throws TempErrorException
+     * @throws NeutralException
+     */
     public void onException(Exception exception, SPFSession session) throws PermErrorException,
NoneException, TempErrorException, NeutralException;
 
 }

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFExecutor.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFExecutor.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFExecutor.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFExecutor.java
Sun Apr 22 23:05:36 2007
@@ -23,6 +23,12 @@
 
 public interface SPFExecutor {
 
+    /**
+     * Execute SPF queries
+     * 
+     * @param session 
+     * @param result
+     */
     public void execute(SPFSession session, FutureSPFResult result);
     
 }

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFSession.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFSession.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFSession.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SPFSession.java
Sun Apr 22 23:05:36 2007
@@ -361,13 +361,18 @@
     }
 
     /**
-     * @param mechanism
+     * Add the given SPFChecker on top of the stack
+     * 
+     * @param checker  
      */
     public void pushChecker(SPFChecker checker) {
         checkers.push(checker);
     }
     
     /**
+     * Remove the SPFChecker on the top and return it. If no SPFChecker is left
+     * null is returned
+     * 
      * @return the last checker
      */
     public SPFChecker popChecker() {
@@ -379,10 +384,21 @@
         }
     }
 
+    /**
+     * Add the given SPFCheckerExceptionCatcher on top of the stack
+     * 
+     * @param catcher
+     */
     public void pushExceptionCatcher(SPFCheckerExceptionCatcher catcher) {
         catchers.push(catcher);
     }
     
+    /**
+     * Remove the SPFCheckerExceptionCatcher on the top and return it. If no SPFCheckerExceptionCatcher
is left
+     * null is returned
+     * 
+     * @return the last catcher
+     */
     public SPFCheckerExceptionCatcher popExceptionCatcher() {
         if (catchers.isEmpty()) {
             return null;
@@ -391,6 +407,12 @@
         }
     }
 
+    /**
+     * Return the SPFCheckerExceptionCatcher on the top of the Stack, but not 
+     * remove it. If no SPFCheckerExceptionCatcher is left null is returned
+     * 
+     * @return the last catcher
+     */
     public SPFCheckerExceptionCatcher getExceptionCatcher() {
         if (catchers.isEmpty()) {
             return null;

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/StagedMultipleSPFExecutor.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/StagedMultipleSPFExecutor.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/StagedMultipleSPFExecutor.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/StagedMultipleSPFExecutor.java
Sun Apr 22 23:05:36 2007
@@ -28,6 +28,10 @@
 import java.util.List;
 import java.util.Map;
 
+/**
+ * Async implementation of SPFExecutor
+ *
+ */
 public class StagedMultipleSPFExecutor implements SPFExecutor, Runnable {
 
     private static final String ATTRIBUTE_STAGED_EXECUTOR_CONTINUATION = "StagedMultipleSPFExecutor.continuation";
@@ -36,11 +40,17 @@
 
         private int waitingThreads = 0;
 
+        /**
+         * @see org.apache.james.jspf.core.IResponseQueue#insertResponse(org.apache.james.jspf.core.IResponse)
+         */
         public synchronized void insertResponse(IResponse r) {
             addLast(r);
             notify();
         }
 
+        /**
+         * @see org.apache.james.jspf.core.IResponseQueue#removeResponse()
+         */
         public synchronized IResponse removeResponse() {
             if ( isEmpty() ) {
                 try { waitingThreads++; wait();}
@@ -49,6 +59,9 @@
             }
             return (IResponse)removeFirst();        }
 
+        /**
+         * @see java.util.AbstractCollection#isEmpty()
+         */
         public boolean isEmpty() {
             return  (size() - waitingThreads <= 0);
         }
@@ -75,6 +88,9 @@
         this.worker.start();
     }
 
+    /**
+     * @see org.apache.james.jspf.core.SPFExecutor#execute(org.apache.james.jspf.core.SPFSession,
org.apache.james.jspf.FutureSPFResult)
+     */
     public void execute(SPFSession session, FutureSPFResult result) {
         
         SPFChecker checker;

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SynchronousSPFExecutor.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SynchronousSPFExecutor.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SynchronousSPFExecutor.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/core/SynchronousSPFExecutor.java
Sun Apr 22 23:05:36 2007
@@ -23,6 +23,9 @@
 import org.apache.james.jspf.core.DNSService.TimeoutException;
 import org.apache.james.jspf.exceptions.SPFResultException;
 
+/**
+ * Synchronous implementation of SPFExecuter. All queries will get executed synchronously
+ */
 public class SynchronousSPFExecutor implements SPFExecutor {
     
     private Logger log;
@@ -33,6 +36,9 @@
         this.dnsProbe = service;
     }
 
+    /**
+     * @see org.apache.james.jspf.core.SPFExecutor#execute(org.apache.james.jspf.core.SPFSession,
org.apache.james.jspf.FutureSPFResult)
+     */
     public void execute(SPFSession session, FutureSPFResult result) {
         SPFChecker checker;
         while ((checker = session.popChecker()) != null) {

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/impl/DNSServiceXBillImpl.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/impl/DNSServiceXBillImpl.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/impl/DNSServiceXBillImpl.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/impl/DNSServiceXBillImpl.java
Sun Apr 22 23:05:36 2007
@@ -191,6 +191,9 @@
         return records;
     }
 
+    /**
+     * @see org.apache.james.jspf.core.DNSService#getRecordsAsynch(java.lang.String, int,
java.lang.Object, org.apache.james.jspf.core.IResponseQueue)
+     */
     public void getRecordsAsynch(String hostname, int recordType, Object id,
             IResponseQueue responsePool) {
         try {

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/macro/MacroExpand.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/macro/MacroExpand.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/macro/MacroExpand.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/macro/MacroExpand.java
Sun Apr 22 23:05:36 2007
@@ -95,6 +95,10 @@
 
     private static final class AResponseListener implements
             SPFCheckerDNSResponseListener {
+        
+        /**
+         * @see org.apache.james.jspf.core.SPFCheckerDNSResponseListener#onDNSResponse(org.apache.james.jspf.core.DNSResponse,
org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation onDNSResponse(DNSResponse response, SPFSession session)
                 throws PermErrorException, NoneException, TempErrorException,
                 NeutralException {
@@ -129,6 +133,9 @@
     private static final class PTRResponseListener implements
             SPFCheckerDNSResponseListener {
 
+        /**
+         * @see org.apache.james.jspf.core.SPFCheckerDNSResponseListener#onDNSResponse(org.apache.james.jspf.core.DNSResponse,
org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation onDNSResponse(DNSResponse response, SPFSession session)
                 throws PermErrorException, NoneException, TempErrorException,
                 NeutralException {

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/NeutralIfNotMatchPolicy.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/NeutralIfNotMatchPolicy.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/NeutralIfNotMatchPolicy.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/NeutralIfNotMatchPolicy.java
Sun Apr 22 23:05:36 2007
@@ -35,6 +35,10 @@
 public class NeutralIfNotMatchPolicy implements PolicyPostFilter {
     
     private final class NeutralIfNotMatchModifier implements SPFChecker {
+        
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
TempErrorException, NeutralException {
             // If no match was found set the result to neutral
             if (spfData.getCurrentResult() == null) {

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFRetriever.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFRetriever.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFRetriever.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFRetriever.java
Sun Apr 22 23:05:36 2007
@@ -65,12 +65,17 @@
     }
     
 
+    /**
+     * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+     */
     public DNSLookupContinuation checkSPF(SPFSession spfData)
             throws PermErrorException, TempErrorException, NeutralException,
             NoneException {
         SPF1Record res = (SPF1Record) spfData.getAttribute(SPF.ATTRIBUTE_SPF1_RECORD);
         if (res == null) {
             String currentDomain = spfData.getCurrentDomain();
+            
+            //TODO: Should we better used nested classes for better readablity ?
             return new DNSLookupContinuation(new DNSRequest(currentDomain, DNSService.SPF),
new SPFCheckerDNSResponseListener() {
 
                 public DNSLookupContinuation onDNSResponse(
@@ -128,6 +133,5 @@
         }
         return null;
     }
-
 
 }

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFStrictCheckerRetriever.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFStrictCheckerRetriever.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFStrictCheckerRetriever.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/SPFStrictCheckerRetriever.java
Sun Apr 22 23:05:36 2007
@@ -33,6 +33,8 @@
         SPF1Record res = (SPF1Record) spfData.getAttribute(SPF.ATTRIBUTE_SPF1_RECORD);
         if (res == null) {
             String currentDomain = spfData.getCurrentDomain();
+            
+            //TODO: Should we use better a nested class ?
             return new DNSLookupContinuation(new DNSRequest(currentDomain, DNSService.SPF),
new SPFCheckerDNSResponseListener() {
 
                 public DNSLookupContinuation onDNSResponse(

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/local/DefaultExplanationPolicy.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/local/DefaultExplanationPolicy.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/local/DefaultExplanationPolicy.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/policies/local/DefaultExplanationPolicy.java
Sun Apr 22 23:05:36 2007
@@ -61,6 +61,9 @@
         
         private SPFChecker explanationCheckr = new ExplanationChecker();
         
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
NoneException, TempErrorException, NeutralException {
             
             if (SPF1Constants.FAIL.equals(spfData.getCurrentResult())) {  

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/ExpModifier.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/ExpModifier.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/ExpModifier.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/ExpModifier.java
Sun Apr 22 23:05:36 2007
@@ -45,6 +45,10 @@
 public class ExpModifier extends GenericModifier implements MacroExpandEnabled, SPFCheckerDNSResponseListener
{
 
     private final class ExpandedExplanationChecker implements SPFChecker {
+       
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData)
                 throws PermErrorException, NoneException,
                 TempErrorException, NeutralException {
@@ -61,6 +65,10 @@
 
 
     private final class ExpandedChecker implements SPFChecker {
+        
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
                 NoneException, TempErrorException, NeutralException {
             String host = macroExpand.expand(getHost(), spfData, MacroExpand.DOMAIN);

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/IncludeMechanism.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/IncludeMechanism.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/IncludeMechanism.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/IncludeMechanism.java
Sun Apr 22 23:05:36 2007
@@ -52,6 +52,9 @@
 
         private SPFChecker finallyChecker;
 
+        /**
+         * @see org.apache.james.jspf.core.SPFCheckerExceptionCatcher#onException(java.lang.Exception,
org.apache.james.jspf.core.SPFSession)
+         */
         public void onException(Exception exception, SPFSession session)
                 throws PermErrorException, NoneException,
                 TempErrorException, NeutralException {
@@ -88,6 +91,10 @@
     }
 
     private final class ExpandedChecker implements SPFChecker {
+      
+        /**
+        * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+        */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
                 TempErrorException {
 
@@ -112,6 +119,9 @@
 
         private String previousDomain;
 
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
                 TempErrorException, NeutralException, NoneException {
             
@@ -139,6 +149,9 @@
     private final class CleanupAndResultChecker implements SPFChecker {
         private SPFChecker finallyChecker;
 
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
                 TempErrorException, NeutralException, NoneException {
             

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/MXMechanism.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/MXMechanism.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/MXMechanism.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/MXMechanism.java
Sun Apr 22 23:05:36 2007
@@ -46,6 +46,10 @@
 public class MXMechanism extends AMechanism implements SPFCheckerDNSResponseListener {
 
     private final class ExpandedChecker implements SPFChecker {
+        
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
                 TempErrorException, NeutralException, NoneException {
 

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/PTRMechanism.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/PTRMechanism.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/PTRMechanism.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/PTRMechanism.java
Sun Apr 22 23:05:36 2007
@@ -49,6 +49,10 @@
         private CleanupChecker cleanupChecker = new CleanupChecker();
 
         private final class CleanupChecker implements SPFChecker {
+
+            /**
+             * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+             */
             public DNSLookupContinuation checkSPF(SPFSession spfData)
                     throws PermErrorException, TempErrorException,
                     NeutralException, NoneException {
@@ -58,6 +62,9 @@
             }
         }
 
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException,
                 TempErrorException, NeutralException, NoneException {
 

Modified: james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/RedirectModifier.java
URL: http://svn.apache.org/viewvc/james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/RedirectModifier.java?view=diff&rev=531343&r1=531342&r2=531343
==============================================================================
--- james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/RedirectModifier.java
(original)
+++ james/jspf/branches/asynch-jspf/src/main/java/org/apache/james/jspf/terms/RedirectModifier.java
Sun Apr 22 23:05:36 2007
@@ -50,6 +50,9 @@
             this.finallyChecker = finallyChecker;
         }
 
+        /**
+         * @see org.apache.james.jspf.core.SPFCheckerExceptionCatcher#onException(java.lang.Exception,
org.apache.james.jspf.core.SPFSession)
+         */
         public void onException(Exception exception, SPFSession session)
                 throws PermErrorException, NoneException,
                 TempErrorException, NeutralException {
@@ -84,6 +87,10 @@
     }
 
     private final class ExpandedChecker implements SPFChecker {
+        
+        /**
+         * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+         */
         public DNSLookupContinuation checkSPF(SPFSession spfData)
                 throws PermErrorException, NoneException,
                 TempErrorException, NeutralException {
@@ -102,6 +109,10 @@
     }
 
     private final class CleanupChecker implements SPFChecker {
+      
+        /**
+        * @see org.apache.james.jspf.core.SPFChecker#checkSPF(org.apache.james.jspf.core.SPFSession)
+        */
         public DNSLookupContinuation checkSPF(SPFSession spfData)
                 throws PermErrorException, TempErrorException,
                 NeutralException, NoneException {



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