- xmltooling::Lockable* lock() {
- m_lock->rdlock();
- return this;
- }
-
- void unlock() {
- m_lock->unlock();
- }
-
- void init() {
- }
-
- const xmltooling::XMLObject* getMetadata() const {
- throw MetadataException("getMetadata operation not implemented on this provider.");
- }
-
- const EntityDescriptor* getEntityDescriptor(const char* id, bool requireValidMetadata=true) const;
+ void init();
+ xmltooling::Lockable* lock();
+ void unlock();
+ const xmltooling::XMLObject* getMetadata() const;
+ std::pair<const EntityDescriptor*,const RoleDescriptor*> getEntityDescriptor(const Criteria& criteria) const;