summaryrefslogtreecommitdiff
path: root/java/broker/src/main
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-05-01 15:22:17 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-05-01 15:22:17 +0000
commit3739a1e857f826d6530ca234a9ac22fe13ca04e8 (patch)
tree7c4d202e1edc4589b9b5e984da047d5c63ad2453 /java/broker/src/main
parentd2c07ddac5ab260e835cd79faeabc44cb58e972f (diff)
downloadqpid-python-3739a1e857f826d6530ca234a9ac22fe13ca04e8.tar.gz
Comments and Test changes
VirtualHost Added comments HeapExhaustion - Updated to send transient messages. QpidClientConnection - Allowed specification of type of message to send. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker/src/main')
-rw-r--r--java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java b/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
index b5c59dbbb7..36a4fa5307 100644
--- a/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
+++ b/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
@@ -107,12 +107,23 @@ public class VirtualHost implements Accessable
} // End of MBean class
-
+ /**
+ * Used for testing only
+ * @param name
+ * @param store
+ * @throws Exception
+ */
public VirtualHost(String name, MessageStore store) throws Exception
{
this(name, null, store);
}
+ /**
+ * Normal Constructor
+ * @param name
+ * @param hostConfig
+ * @throws Exception
+ */
public VirtualHost(String name, Configuration hostConfig) throws Exception
{
this(name, hostConfig, null);