servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r581821 - /incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/NamespaceContextImpl.java
Date Thu, 04 Oct 2007 09:49:26 GMT
Author: gnodet
Date: Thu Oct  4 02:49:25 2007
New Revision: 581821

URL: http://svn.apache.org/viewvc?rev=581821&view=rev
Log:
Fix NamespaceContext and unit tests

Modified:
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/NamespaceContextImpl.java

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/NamespaceContextImpl.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/NamespaceContextImpl.java?rev=581821&r1=581820&r2=581821&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/NamespaceContextImpl.java
(original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-eip/src/main/java/org/apache/servicemix/eip/support/NamespaceContextImpl.java
Thu Oct  4 02:49:25 2007
@@ -16,6 +16,8 @@
  */
 package org.apache.servicemix.eip.support;
 
+import java.util.Map;
+
 
 /**
  * A simple namespace context with a clean xbean configuration.
@@ -27,4 +29,19 @@
  */
 public class NamespaceContextImpl extends org.apache.servicemix.jbi.jaxp.NamespaceContextImpl
{
     
+    /**
+     * @org.apache.xbean.Map entryName="namespace" keyName="prefix"
+     * @return Returns the namespaces.
+     */
+    public Map<String, String> getNamespaces() {
+        return super.getNamespaces();
+    }
+
+    /**
+     * @param namespaces The namespaces to set.
+     */
+    public void setNamespaces(Map<String, String> namespaces) {
+        super.setNamespaces(namespaces);
+    }
+
 }



Mime
View raw message