projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credential resolver plugin
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
PluginManager.h
diff --git
a/xmltooling/PluginManager.h
b/xmltooling/PluginManager.h
index
e1add0e
..
67323c8
100644
(file)
--- a/
xmltooling/PluginManager.h
+++ b/
xmltooling/PluginManager.h
@@
-69,9
+69,15
@@
namespace xmltooling {
* @param type the name of the plugin type
\r
*/
\r
void deregisterFactory(const char* type) {
\r
* @param type the name of the plugin type
\r
*/
\r
void deregisterFactory(const char* type) {
\r
- if (type)
{
\r
+ if (type)
\r
m_map.erase(type);
\r
m_map.erase(type);
\r
- }
\r
+ }
\r
+
\r
+ /**
\r
+ * Unregisters all registered factories.
\r
+ */
\r
+ void deregisterFactories() {
\r
+ m_map.clear();
\r
}
\r
\r
/**
\r
}
\r
\r
/**
\r