@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, toString
equals, hashCode
public 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()
AbstractKeyManagerMap
null
.
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 AbstractKeyManagerMap
Copyright © 2012–2018 Schlichtherle IT Services. All rights reserved.