diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-03 08:30:31 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-03 08:30:31 +0000 |
commit | ad792c40c911b6a119de0868ce0dc87cca5bbc73 (patch) | |
tree | 0e6fa7f854ea59be85a6a5b90001fcf72afcc1d1 /java | |
parent | e36cc3c68c9db5010caf4d43680f2f6456691da4 (diff) |
Add missing code comment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@691541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/modules/binding-sca-jms/src/main/java/org/apache/tuscany/sca/binding/sca/jms/JMSBroker.java | 3 |
1 files changed, 3 insertions, 0 deletions
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) {
|