activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r389019 - in /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter: DestinationMap.java DestinationMapNode.java
Date Mon, 27 Mar 2006 04:33:40 GMT
Author: jstrachan
Date: Sun Mar 26 20:33:40 2006
New Revision: 389019

URL: http://svn.apache.org/viewcvs?rev=389019&view=rev
Log:
made the destination map easier to navigate

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMapNode.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java?rev=389019&r1=389018&r2=389019&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMap.java
Sun Mar 26 20:33:40 2006
@@ -113,6 +113,15 @@
         return queueRootNode.getChildCount();
     }
 
+    public DestinationMapNode getQueueRootNode() {
+        return queueRootNode;
+    }
+
+    public DestinationMapNode getTopicRootNode() {
+        return topicRootNode;
+    }
+
+    
     // Implementation methods
     // -------------------------------------------------------------------------
 

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMapNode.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMapNode.java?rev=389019&r1=389018&r2=389019&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMapNode.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/filter/DestinationMapNode.java
Sun Mar 26 20:33:40 2006
@@ -17,6 +17,7 @@
 package org.apache.activemq.filter;
 
 import java.util.ArrayList;
+import java.util.Collection;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
@@ -50,6 +51,13 @@
         return (DestinationMapNode) childNodes.get(path);
     }
 
+    /**
+     * Returns the child nodes
+     */
+    public Collection getChildren() {
+        return childNodes.values();
+    }
+    
     public int getChildCount() {
         return childNodes.size();
     }



Mime
View raw message