Author: mckierna
Date: Thu Sep  6 05:39:11 2007
New Revision: 573244

URL: http://svn.apache.org/viewvc?rev=573244&view=rev
Log:
SANDESHA2-120 : plugin to decorate replyTo EPRs

Added:
    
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/
    
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecorator.java
    
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecoratorImpl.java

Added: 
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecorator.java
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecorator.java?rev=573244&view=auto
==============================================================================
--- 
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecorator.java
 (added)
+++ 
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecorator.java
 Thu Sep  6 05:39:11 2007
@@ -0,0 +1,37 @@
+/*
+ * Copyright  1999-2004 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+package org.apache.sandesha2.addressing;
+
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.ConfigurationContext;
+
+public abstract class EPRDecorator {
+
+       final ConfigurationContext ctx;
+       
+       public EPRDecorator(ConfigurationContext configCtx){
+               this.ctx = configCtx;
+       }
+       
+       /**
+        * Decorates the endpoint reference with any additional routing 
information required
+        * @param ref
+        * @return
+        */
+       public abstract EndpointReference 
decorateEndpointReference(EndpointReference ref);
+       
+}

Added: 
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecoratorImpl.java
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecoratorImpl.java?rev=573244&view=auto
==============================================================================
--- 
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecoratorImpl.java
 (added)
+++ 
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/addressing/EPRDecoratorImpl.java
 Thu Sep  6 05:39:11 2007
@@ -0,0 +1,35 @@
+/*
+ * Copyright  1999-2004 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+package org.apache.sandesha2.addressing;
+
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.ConfigurationContext;
+
+public class EPRDecoratorImpl extends EPRDecorator{
+
+       
+       public EPRDecoratorImpl(ConfigurationContext ctx){
+               super(ctx);
+       }
+       
+       
+       public EndpointReference decorateEndpointReference(EndpointReference 
ref){
+               //NO-OP
+               return ref;
+       }
+       
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to