|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.keyinfo.KeyInfoGeneratorManager
public class KeyInfoGeneratorManager
A manager for KeyInfoGeneratorFactory
instances. Factories are uniquely indexed according to the
value returned by KeyInfoGeneratorFactory.getCredentialType()
.
Field Summary | |
---|---|
private Map<Class<? extends Credential>,KeyInfoGeneratorFactory> |
factories
The factories being managed, indexed by credential type. |
Constructor Summary | |
---|---|
KeyInfoGeneratorManager()
Constructor. |
Method Summary | |
---|---|
void |
deregisterFactory(KeyInfoGeneratorFactory factory)
De-register a factory within this manager instance. |
Collection<KeyInfoGeneratorFactory> |
getFactories()
Get the (unmodifiable) collection of all factories managed by this manager. |
KeyInfoGeneratorFactory |
getFactory(Credential credential)
Get the factory which produces KeyInfoGenerators which can handle the specified credential. |
void |
registerFactory(KeyInfoGeneratorFactory factory)
Register a factory within this manager instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Map<Class<? extends Credential>,KeyInfoGeneratorFactory> factories
Constructor Detail |
---|
public KeyInfoGeneratorManager()
Method Detail |
---|
public void registerFactory(KeyInfoGeneratorFactory factory)
factory
- the factory to registerpublic void deregisterFactory(KeyInfoGeneratorFactory factory)
factory
- the factory to de-registerpublic Collection<KeyInfoGeneratorFactory> getFactories()
public KeyInfoGeneratorFactory getFactory(Credential credential)
credential
- the credential for which to locate a factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |