@Immutable public abstract class AbstractKeyManagerMap extends UniqueObject implements KeyManagerMap, Container<Map<Class<?>,KeyManager<?>>>
Implementations must be safe for multi-threading.
| Constructor and Description |
|---|
AbstractKeyManagerMap() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<Class<?>,KeyManager<?>> |
get()
Returns an immutable map of key classes to nullable key managers.
|
<K> KeyManager<K> |
manager(Class<K> type)
Returns the key manager for the given secret key class.
|
String |
toString()
Returns a string representation of this object for logging and debugging
purposes.
|
equals, hashCodepublic abstract Map<Class<?>,KeyManager<?>> get()
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<?>>>@Nullable public final <K> KeyManager<K> manager(Class<K> type)
KeyManagerMapThis is a pure function - multiple calls must return the same value for the same parameter.
manager in interface KeyManagerMapK - the type of the keys.type - the class for the key type.Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.