You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/04/10 22:37:45 UTC
svn commit: r764040 - in /cxf/branches/2.1.x-fixes: ./
api/src/main/java/org/apache/cxf/interceptor/InterceptorChain.java
Author: dkulp
Date: Fri Apr 10 20:37:44 2009
New Revision: 764040
URL: http://svn.apache.org/viewvc?rev=764040&view=rev
Log:
Merged revisions 762518 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r762518 | ericjohnson | 2009-04-06 17:39:31 -0400 (Mon, 06 Apr 2009) | 1 line
added javadoc comments
........
Modified:
cxf/branches/2.1.x-fixes/ (props changed)
cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/interceptor/InterceptorChain.java
Propchange: cxf/branches/2.1.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Apr 10 20:37:44 2009
@@ -1 +1 @@
-/cxf/trunk:743446,753380,753397,753421,754585,755365,757499,757859,757899,757935,757951,758195,758303,758308,758378,758690,758910,759890,759961,759963-759964,759966,760029,760073,760150,760171,760178,760198,760212,760456,760468,760582,760938,761094,761113,761120,761317,761759,761789,762393,762567
+/cxf/trunk:743446,753380,753397,753421,754585,755365,757499,757859,757899,757935,757951,758195,758303,758308,758378,758690,758910,759890,759961,759963-759964,759966,760029,760073,760150,760171,760178,760198,760212,760456,760468,760582,760938,761094,761113,761120,761317,761759,761789,762393,762518,762567
Propchange: cxf/branches/2.1.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/interceptor/InterceptorChain.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/interceptor/InterceptorChain.java?rev=764040&r1=764039&r2=764040&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/interceptor/InterceptorChain.java (original)
+++ cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/interceptor/InterceptorChain.java Fri Apr 10 20:37:44 2009
@@ -27,10 +27,11 @@
/**
* Base interface for all interceptor chains. An interceptor chain is an
- * ordered list of interceptors associated with one portion of the web service
- * processing pipeline. Interceptor chains are defined for either the SOAP
- * client's request or response handling, the web service's, or error handling
- * interceptor chains for SOAP faults.
+ * ordered list of interceptors associated with one portion of the message
+ * processing pipeline. Interceptor chains are defined for a client's request
+ * processing, response processing, and incoming SOAP fault processing. Interceptor
+ * chains are defined for a service's request processing, response processing, and
+ * outgoing SOAP fault processing.
*/
public interface InterceptorChain extends Iterable<Interceptor<? extends Message>> {
@@ -44,8 +45,17 @@
String STARTING_AFTER_INTERCEPTOR_ID = "starting_after_interceptor_id";
String STARTING_AT_INTERCEPTOR_ID = "starting_at_interceptor_id";
+ /**
+ * Adds a single interceptor to the interceptor chain.
+ *
+ * @param i the interceptor to add
+ */
void add(Interceptor i);
+ /**
+ * Adds multiple interceptors to the interceptor chain.
+ * @param i the interceptors to add to the chain
+ */
void add(Collection<Interceptor> i);
void remove(Interceptor i);