@Immutable public final class PromptingKeyManagerContainer extends AbstractKeyManagerContainer
| Constructor and Description |
|---|
PromptingKeyManagerContainer(Class<K> clazz,
PromptingKeyProvider.View<K> view)
Constructs a new prompting key manager service using the given view.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Class<?>,KeyManager<?>> |
get()
Returns an immutable map of secret key classes to nullable key managers.
|
keyManager, toStringpublic PromptingKeyManagerContainer(Class<K> clazz, PromptingKeyProvider.View<K> view)
K - the type of the safe keys.clazz - the class of the safe keys.view - the prompting key provider view for the safe keys.public Map<Class<?>,KeyManager<?>> get()
AbstractKeyManagerContainernull.
This is an immutable property - multiple calls must return the same object.
get in interface javax.inject.Provider<Map<Class<?>,KeyManager<?>>>get in interface net.java.truecommons.services.Container<Map<Class<?>,KeyManager<?>>>get in class AbstractKeyManagerContainerCopyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.