Commit in servicemix/base/src/main/java/org/servicemix/jbi on MAIN
config/ComponentElementProcessor.java+7-41.10 -> 1.11
container/ActivationSpec.java+13-11.9 -> 1.10
resolver/ServiceAndEndpointNameResolver.java+1-11.3 -> 1.4
+21-6
3 modified files
added a destinationOperation property

servicemix/base/src/main/java/org/servicemix/jbi/config
ComponentElementProcessor.java 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- ComponentElementProcessor.java	2 Aug 2005 12:50:20 -0000	1.10
+++ ComponentElementProcessor.java	2 Aug 2005 17:05:17 -0000	1.11
@@ -33,7 +33,7 @@
 /**
  * Handles the 'component' element
  *
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
  */
 public class ComponentElementProcessor extends QNameElementProcessor implements ElementProcessor {
 
@@ -95,9 +95,12 @@
         String destinationInterface = element.getAttribute("destinationInterface");
         if (destinationInterface != null) {
             element.removeAttribute("destinationInterface");
-
-            String propertyName = "destinationInterface";
-            addQNameProperty(registration, propertyName, destinationInterface, element);
+            addQNameProperty(registration, "destinationInterface", destinationInterface, element);
+        }
+        String destinationOperation = element.getAttribute("destinationOperation");
+        if (destinationOperation != null) {
+            element.removeAttribute("destinationOperation");
+            addQNameProperty(registration, "destinationOperation", destinationOperation, element);
         }
 
         DOMUtil.copyAttributes(element, bean);

servicemix/base/src/main/java/org/servicemix/jbi/container
ActivationSpec.java 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- ActivationSpec.java	2 Aug 2005 12:50:20 -0000	1.9
+++ ActivationSpec.java	2 Aug 2005 17:05:17 -0000	1.10
@@ -29,7 +29,7 @@
 /**
  * Represents the registration of a component with the [EMAIL PROTECTED] JBIContainer}
  *
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
  */
 public class ActivationSpec {
     private String id;
@@ -44,6 +44,7 @@
     private EndpointChooser serviceChooser;
     private QName destinationService;
     private QName destinationInterface;
+    private QName destinationOperation;
     private String destinationEndpoint;
     private Marshaler marshaler;
 
@@ -192,6 +193,17 @@
 
     public void setDestinationInterface(QName destinationInterface) {
         this.destinationInterface = destinationInterface;
+    }
+
+    /**
+     * The destination operation name
+     */
+    public QName getDestinationOperation() {
+        return destinationOperation;
+    }
+
+    public void setDestinationOperation(QName destinationOperation) {
+        this.destinationOperation = destinationOperation;
     }
 
     /**

servicemix/base/src/main/java/org/servicemix/jbi/resolver
ServiceAndEndpointNameResolver.java 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- ServiceAndEndpointNameResolver.java	13 Jun 2005 08:03:02 -0000	1.3
+++ ServiceAndEndpointNameResolver.java	2 Aug 2005 17:05:17 -0000	1.4
@@ -29,7 +29,7 @@
 /**
  * Resolves the endpoint using the service name and endpoint name to resolve the [EMAIL PROTECTED] ServiceEndpoint}
  *
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
  */
 public class ServiceAndEndpointNameResolver implements EndpointResolver {
     private QName serviceName;
CVSspam 0.2.8



Reply via email to