[rhmessaging-commits] rhmessaging commits: r2041 - in store/trunk: specs and 1 other directory.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue May 13 13:08:09 EDT 2008


Author: tedross
Date: 2008-05-13 13:08:09 -0400 (Tue, 13 May 2008)
New Revision: 2041

Modified:
   store/trunk/cpp/lib/gen/qpid/management/Journal.h
   store/trunk/cpp/lib/gen/qpid/management/Store.cpp
   store/trunk/cpp/lib/gen/qpid/management/Store.h
   store/trunk/specs/management-schema.xml
Log:
Renamed broker reference in management schema

Modified: store/trunk/cpp/lib/gen/qpid/management/Journal.h
===================================================================
--- store/trunk/cpp/lib/gen/qpid/management/Journal.h	2008-05-13 10:36:26 UTC (rev 2040)
+++ store/trunk/cpp/lib/gen/qpid/management/Journal.h	2008-05-13 17:08:09 UTC (rev 2041)
@@ -25,6 +25,7 @@
 // Please do not edit.
 
 #include "qpid/management/ManagementObject.h"
+#include "qpid/framing/FieldTable.h"
 #include "qpid/framing/Uuid.h"
 
 namespace qpid {

Modified: store/trunk/cpp/lib/gen/qpid/management/Store.cpp
===================================================================
--- store/trunk/cpp/lib/gen/qpid/management/Store.cpp	2008-05-13 10:36:26 UTC (rev 2040)
+++ store/trunk/cpp/lib/gen/qpid/management/Store.cpp	2008-05-13 17:08:09 UTC (rev 2041)
@@ -35,13 +35,13 @@
 string  Store::packageName  = string ("mrgstore");
 string  Store::className    = string ("store");
 uint8_t Store::md5Sum[16]   =
-    {0x0,0xc6,0x7a,0x17,0x1,0xc6,0x33,0xb4,0x5d,0x75,0xd3,0x86,0xe3,0x20,0xcc,0xe2};
+    {0x67,0x86,0x77,0xd2,0x1e,0x27,0x3e,0x46,0xf9,0xec,0x38,0xa4,0x9a,0xf5,0xf9,0x89};
 
 Store::Store (Manageable* _core, Manageable* _parent) :
     ManagementObject(_core)
     
 {
-    qpidBrokerRef = _parent->GetManagementObject ()->getObjectId ();
+    brokerRef = _parent->GetManagementObject ()->getObjectId ();
 
 }
 
@@ -78,7 +78,7 @@
 
     // Config Elements
     ft = FieldTable ();
-    ft.setString (NAME,   "qpidBrokerRef");
+    ft.setString (NAME,   "brokerRef");
     ft.setInt    (TYPE,   TYPE_REF);
     ft.setInt    (ACCESS, ACCESS_RO);
     ft.setInt    (INDEX,  1);
@@ -133,7 +133,7 @@
     configChanged = false;
 
     writeTimestamps (buf);
-    buf.putLongLong (qpidBrokerRef);
+    buf.putLongLong (brokerRef);
     buf.putShortString (location);
     buf.putOctet (async?1:0);
     buf.putShort (defaultInitialFileCount);

Modified: store/trunk/cpp/lib/gen/qpid/management/Store.h
===================================================================
--- store/trunk/cpp/lib/gen/qpid/management/Store.h	2008-05-13 10:36:26 UTC (rev 2040)
+++ store/trunk/cpp/lib/gen/qpid/management/Store.h	2008-05-13 17:08:09 UTC (rev 2041)
@@ -25,6 +25,7 @@
 // Please do not edit.
 
 #include "qpid/management/ManagementObject.h"
+#include "qpid/framing/FieldTable.h"
 #include "qpid/framing/Uuid.h"
 
 namespace qpid {
@@ -39,7 +40,7 @@
     static uint8_t     md5Sum[16];
 
     // Configuration Elements
-    uint64_t qpidBrokerRef;
+    uint64_t brokerRef;
     std::string location;
     uint8_t async;
     uint16_t defaultInitialFileCount;
@@ -75,9 +76,9 @@
     // Method IDs
 
     // Accessor Methods
-    inline void set_qpidBrokerRef (uint64_t val){
+    inline void set_brokerRef (uint64_t val){
         sys::RWlock::ScopedWlock writeLock (accessLock);
-        qpidBrokerRef = val;
+        brokerRef = val;
         configChanged = true;
     }
     inline void set_location (std::string val){

Modified: store/trunk/specs/management-schema.xml
===================================================================
--- store/trunk/specs/management-schema.xml	2008-05-13 10:36:26 UTC (rev 2040)
+++ store/trunk/specs/management-schema.xml	2008-05-13 17:08:09 UTC (rev 2041)
@@ -4,7 +4,7 @@
     License Text
 -->
   <class name="store">
-    <configElement name="qpidBrokerRef"           type="objId"  access="RO" index="y" parentRef="y"/>
+    <configElement name="brokerRef"               type="objId"  access="RO" index="y" parentRef="y"/>
     <configElement name="location"                type="sstr"   access="RO"              desc="Logical directory on disk"/>
     <configElement name="async"                   type="bool"   access="RO"              desc="Asynchronous IO"/>
     <configElement name="defaultInitialFileCount" type="uint16" access="RO" unit="file"  desc="Default number of files initially allocated to each journal"/>




More information about the rhmessaging-commits mailing list