public class KeyInfoGeneratorManager extends Object
KeyInfoGeneratorFactory
instances. Factories are uniquely indexed according to the
value returned by KeyInfoGeneratorFactory.getCredentialType()
.Constructor and Description |
---|
KeyInfoGeneratorManager()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 factoryCopyright © 2018 JBoss by Red Hat. All rights reserved.