From 3739a1e857f826d6530ca234a9ac22fe13ca04e8 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Tue, 1 May 2007 15:22:17 +0000 Subject: 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 --- .../org/apache/qpid/server/virtualhost/VirtualHost.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'java/broker/src/main') 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); -- cgit v1.2.1