summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins/derby-store
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-06-07 19:01:03 +0000
committerKeith Wall <kwall@apache.org>2014-06-07 19:01:03 +0000
commit2a511e6a3b5f278f9c8b572a306b96490f180805 (patch)
treea6c30ce39a23aeeb86844fb6434a21c669fba854 /qpid/java/broker-plugins/derby-store
parent21aceae395ef19dca56dc603ed3f2af744b620a7 (diff)
downloadqpid-python-2a511e6a3b5f278f9c8b572a306b96490f180805.tar.gz
QPID-5803: [Java Broker] Add ability for the virtualhostnode to create a virtualhost using a blueprint supplied by context variable
* This commit reenables the SplitStoreTest. * The UI has not been refactored by this commit, so it will not be possible to create a non-HA virtualhost from the UI (the UI will create only a virtualhostnode).. REST API is okay. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601163 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-plugins/derby-store')
-rw-r--r--qpid/java/broker-plugins/derby-store/src/main/java/org/apache/qpid/server/virtualhostnode/derby/DerbyVirtualHostNode.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/java/broker-plugins/derby-store/src/main/java/org/apache/qpid/server/virtualhostnode/derby/DerbyVirtualHostNode.java b/qpid/java/broker-plugins/derby-store/src/main/java/org/apache/qpid/server/virtualhostnode/derby/DerbyVirtualHostNode.java
index 9dc68d0343..ffc19832fa 100644
--- a/qpid/java/broker-plugins/derby-store/src/main/java/org/apache/qpid/server/virtualhostnode/derby/DerbyVirtualHostNode.java
+++ b/qpid/java/broker-plugins/derby-store/src/main/java/org/apache/qpid/server/virtualhostnode/derby/DerbyVirtualHostNode.java
@@ -32,9 +32,11 @@ import org.apache.qpid.server.store.derby.DerbyMessageStore;
import org.apache.qpid.server.virtualhostnode.AbstractStandardVirtualHostNode;
import org.apache.qpid.server.virtualhostnode.FileBasedVirtualHostNode;
-@ManagedObject( category = false, type = "DERBY" )
+@ManagedObject( category = false, type = DerbyVirtualHostNode.VIRTUAL_HOST_NODE_TYPE )
public class DerbyVirtualHostNode extends AbstractStandardVirtualHostNode<DerbyVirtualHostNode> implements FileBasedVirtualHostNode<DerbyVirtualHostNode>
{
+ public static final String VIRTUAL_HOST_NODE_TYPE = "DERBY";
+
@ManagedAttributeField
private String _storePath;