servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r391703 - in /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework: EndpointRegistry.java Registry.java
Date Wed, 05 Apr 2006 18:43:09 GMT
Author: jstrachan
Date: Wed Apr  5 11:43:08 2006
New Revision: 391703

URL: http://svn.apache.org/viewcvs?rev=391703&view=rev
Log:
added a couple of hooks to make visualisation easier

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/Registry.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java?rev=391703&r1=391702&r2=391703&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/EndpointRegistry.java
Wed Apr  5 11:43:08 2006
@@ -93,6 +93,13 @@
         }
         return asEndpointArray(endpoints);
     }
+    
+    /**
+     * Returns a collection of Endpoint objects
+     */
+    public Collection getEndpointMBeans() {
+        return endpointMBeans.values();
+    }
 
     /**
      * Get all endpoints for a given service

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/Registry.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/Registry.java?rev=391703&r1=391702&r2=391703&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/Registry.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/Registry.java
Wed Apr  5 11:43:08 2006
@@ -91,6 +91,15 @@
         return RegistryMBean.class;
     }
 
+    
+    public ComponentRegistry getComponentRegistry() {
+        return componentRegistry;
+    }
+
+    public EndpointRegistry getEndpointRegistry() {
+        return endpointRegistry;
+    }
+
     /**
      * start brokering
      * 



Mime
View raw message