/*
- * Copyright 2001-2009 Internet2
+ * Copyright 2001-2010 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @param e DOM to supply configuration for provider
*/
- DynamicMetadataProvider(const xercesc::DOMElement* e=NULL);
+ DynamicMetadataProvider(const xercesc::DOMElement* e=nullptr);
virtual ~DynamicMetadataProvider();
/** Caps the allowable cache duration of a metadata instance. */
time_t m_maxCacheDuration;
- using AbstractMetadataProvider::resolve;
-
/**
* Resolves a metadata instance using the supplied criteria.
*
private:
mutable xmltooling::RWLock* m_lock;
+ typedef std::map<xmltooling::xstring,time_t> cachemap_t;
+ mutable cachemap_t m_cacheMap;
};
};