qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r918944 - in /qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid: qmf/ server/configuration/ server/federation/ server/protocol/
Date Thu, 04 Mar 2010 11:19:46 GMT
Author: robbie
Date: Thu Mar  4 11:19:46 2010
New Revision: 918944

URL: http://svn.apache.org/viewvc?rev=918944&view=rev
Log:
QPID-2379: defer getShadow property to ConnectionConfig objects instead of hardcoding in the
delegate

Modified:
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/qmf/QMFService.java
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ConnectionConfig.java
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/federation/BrokerLink.java
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolEngine.java
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/ProtocolEngine_0_10.java

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/qmf/QMFService.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/qmf/QMFService.java?rev=918944&r1=918943&r2=918944&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/qmf/QMFService.java (original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/qmf/QMFService.java Thu Mar
 4 11:19:46 2010
@@ -1230,11 +1230,9 @@
             return _obj.getCreateTime();
         }
 
-        @Override
         public Boolean getShadow()
         {
-            // TODO Auto-generated method stub
-            return false;
+            return _obj.isShadow();
         }
     }
 

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ConnectionConfig.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ConnectionConfig.java?rev=918944&r1=918943&r2=918944&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ConnectionConfig.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ConnectionConfig.java
Thu Mar  4 11:19:46 2010
@@ -42,4 +42,6 @@
     Integer getRemoteParentPID();
 
     ConfigStore getConfigStore();
+    
+    Boolean isShadow();
 }
\ No newline at end of file

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/federation/BrokerLink.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/federation/BrokerLink.java?rev=918944&r1=918943&r2=918944&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/federation/BrokerLink.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/federation/BrokerLink.java
Thu Mar  4 11:19:46 2010
@@ -183,6 +183,11 @@
         {
             return _adapterCreateTime;
         }
+
+        public Boolean isShadow()
+        {
+            return false;
+        }
     }
 
     private class SessionFactory implements Connection.SessionFactory

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolEngine.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolEngine.java?rev=918944&r1=918943&r2=918944&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolEngine.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolEngine.java
Thu Mar  4 11:19:46 2010
@@ -1139,4 +1139,9 @@
         return _createTime;
     }
 
+    public Boolean isShadow()
+    {
+        return false;
+    }
+
 }

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/ProtocolEngine_0_10.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/ProtocolEngine_0_10.java?rev=918944&r1=918943&r2=918944&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/ProtocolEngine_0_10.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/protocol/ProtocolEngine_0_10.java
Thu Mar  4 11:19:46 2010
@@ -183,4 +183,9 @@
     {
         return _createTime;
     }
+
+    public Boolean isShadow()
+    {
+        return false;
+    }
 }



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


Mime
View raw message