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(@Nonnull KeyInfoGeneratorFactory factory)
factory - the factory to registerpublic void deregisterFactory(@Nonnull KeyInfoGeneratorFactory factory)
factory - the factory to de-register@Nonnull public Collection<KeyInfoGeneratorFactory> getFactories()
@Nullable public KeyInfoGeneratorFactory getFactory(@Nonnull Credential credential)
credential - the credential for which to locate a factoryCopyright © 2016 JBoss by Red Hat. All rights reserved.