1 #ifndef _ManagementObject_
2 #define _ManagementObject_
31 #ifdef _IN_QPID_BROKER
32 #include <boost/shared_ptr.hpp>
40 class ManagementObject;
161 #ifdef _IN_QPID_BROKER
162 typedef boost::shared_ptr<ManagementObject> shared_ptr;
168 typedef void (*writeSchemaCall_t) (std::string&);
173 virtual writeSchemaCall_t getWriteSchemaCall() = 0;
174 virtual std::string getKey()
const = 0;
179 bool includeProperties,
180 bool includeStatistics) = 0;
182 virtual void doMethod(std::string& methodName,
185 const std::string& userId) = 0;
197 virtual void doMethod(std::string&,
const std::string&, std::string&,
const std::string&) {}
201 virtual std::string& getClassName()
const = 0;
202 virtual std::string& getPackageName()
const = 0;
203 virtual uint8_t* getMd5Sum()
const = 0;
218 for (
int idx = 0; idx < MD5_LEN; idx++)
219 if (other.
getMd5Sum()[idx] != getMd5Sum()[idx])
237 #ifdef _IN_QPID_BROKER
238 typedef std::map<ObjectId, ManagementObject::shared_ptr> ManagementObjectMap;
239 typedef std::vector<ManagementObject::shared_ptr> ManagementObjectVector;