@Immutable public final class PromptingKeyManagerMap extends AbstractKeyManagerMap
| Constructor and Description |
|---|
PromptingKeyManagerMap(Class<K> clazz,
PromptingKey.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 key classes to nullable key managers.
|
manager, toStringequals, hashCodepublic PromptingKeyManagerMap(Class<K> clazz, PromptingKey.View<K> view)
K - the type of the prompting keys.clazz - the class of the prompting keys.view - the view for the prompting key provider.public Map<Class<?>,KeyManager<?>> get()
AbstractKeyManagerMapnull.
This is an immutable property - multiple calls must return the same object.
get in interface javax.inject.Provider<Map<Class<?>,KeyManager<?>>>get in interface Container<Map<Class<?>,KeyManager<?>>>get in class AbstractKeyManagerMapCopyright © 2012–2015 Schlichtherle IT Services. All rights reserved.