From ad792c40c911b6a119de0868ce0dc87cca5bbc73 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 3 Sep 2008 08:30:31 +0000 Subject: Add missing code comment git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691541 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java') diff --git a/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java b/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java index b4142a65ca..6c13b550ba 100644 --- a/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java +++ b/java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java @@ -32,6 +32,9 @@ import org.apache.tuscany.sca.core.ModuleActivator; */ public class JMSBroker implements ModuleActivator { + // this is static so that there is only one broker per JVM + // if that wasn't the case then to use the vm: transport each broker + // would need a unique name and clients would need to know the name private static BrokerService broker; public void start(ExtensionPointRegistry arg0) { -- cgit v1.2.3