cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r615641 - in /incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase: PhaseChainCache.java PhaseInterceptorChain.java package.html
Date Sun, 27 Jan 2008 20:37:52 GMT
Author: gmazza
Date: Sun Jan 27 12:37:50 2008
New Revision: 615641

URL: http://svn.apache.org/viewvc?rev=615641&view=rev
Log:
Added more comments.

Modified:
    incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseChainCache.java
    incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
    incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/package.html

Modified: incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseChainCache.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseChainCache.java?rev=615641&r1=615640&r2=615641&view=diff
==============================================================================
--- incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseChainCache.java (original)
+++ incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseChainCache.java Sun Jan
27 12:37:50 2008
@@ -28,7 +28,13 @@
 import org.apache.cxf.common.util.ModCountCopyOnWriteArrayList;
 import org.apache.cxf.interceptor.Interceptor;
 
-
+/**
+ * The PhaseChainCache provides default interceptor chains for SOAP requests
+ * and responses, both from the client and web service side.  The list of
+ * phases supplied in the get() methods of this class are defined by default
+ * within org.apache.cxf.phase.PhaseManagerImpl.  For an example of this class 
+ * in use, check the sourcecode of org.apache.cxf.endpoint.ClientImpl.
+ */
 public final class PhaseChainCache {
     AtomicReference<ChainHolder> lastData = new AtomicReference<ChainHolder>();
     

Modified: incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java?rev=615641&r1=615640&r2=615641&view=diff
==============================================================================
--- incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
(original)
+++ incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
Sun Jan 27 12:37:50 2008
@@ -43,10 +43,11 @@
  * Interceptor.
  * <p>
  * A List of phases is supplied to the PhaseInterceptorChain in the constructor.
- * Interceptors that are added to the chain are ordered by phase. Within a
- * phase, interceptors can order themselves. Each PhaseInterceptor has an ID.
- * PhaseInterceptors can supply a Collection of IDs which they should run before
- * or after, supplying fine grained ordering.
+ * This class is typically instantiated from the PhaseChainCache class in this
+ * package. Interceptors that are added to the chain are ordered by phase.
+ * Within a phase, interceptors can order themselves. Each PhaseInterceptor 
+ * has an ID. PhaseInterceptors can supply a Collection of IDs which they 
+ * should run before or after, supplying fine grained ordering.
  * <p>
  *  
  */

Modified: incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/package.html
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/package.html?rev=615641&r1=615640&r2=615641&view=diff
==============================================================================
--- incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/package.html (original)
+++ incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/package.html Sun Jan 27 12:37:50
2008
@@ -23,7 +23,7 @@
 <body bgcolor="white">
 
 An InterceptorChain implementation which uses the concept of 
-Phases to break up message chains.
+Phases to order message chains.
 
 </body>
 </html>



Mime
View raw message