You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2009/04/13 17:07:46 UTC

svn commit: r764496 - /qpid/branches/0.5-fix/qpid/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java

Author: ritchiem
Date: Mon Apr 13 15:07:45 2009
New Revision: 764496

URL: http://svn.apache.org/viewvc?rev=764496&view=rev
Log:
Partially Merged from trunk to provide VirtualHost.getConfiguration() functionality
Merged from trunk r747754

Modified:
    qpid/branches/0.5-fix/qpid/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java

Modified: qpid/branches/0.5-fix/qpid/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.5-fix/qpid/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java?rev=764496&r1=764495&r2=764496&view=diff
==============================================================================
--- qpid/branches/0.5-fix/qpid/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java (original)
+++ qpid/branches/0.5-fix/qpid/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java Mon Apr 13 15:07:45 2009
@@ -84,6 +84,8 @@
     private ACLManager _accessManager;
 
     private final Timer _houseKeepingTimer;
+
+    private VirtualHostConfiguration _configuration;
      
     public void setAccessableName(String name)
     {
@@ -101,6 +103,11 @@
         return _connectionRegistry;
     }
 
+    public VirtualHostConfiguration getConfiguration()
+    {
+        return _configuration;
+    }
+
     /**
      * Abstract MBean class. This has some of the methods implemented from management intrerface for exchanges. Any
      * implementaion of an Exchange MBean should extend this class.
@@ -133,6 +140,7 @@
 
     public VirtualHost(VirtualHostConfiguration hostConfig, MessageStore store) throws Exception
     {
+        _configuration = hostConfig;
     	_name = hostConfig.getName();
     	if (_name == null || _name.length() == 0)
         {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org