@Immutable public abstract class AbstractKeyManagerContainer extends Object implements KeyManagerContainer, net.java.truecommons.services.Container<Map<Class<?>,KeyManager<?>>>
| Constructor and Description |
|---|
AbstractKeyManagerContainer() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<Class<?>,KeyManager<?>> |
get()
Returns an immutable map of secret key classes to nullable key managers.
|
<K> KeyManager<K> |
keyManager(Class<K> type)
Returns the nullable key manager for the given secret key class.
|
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
public 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 net.java.truecommons.services.Container<Map<Class<?>,KeyManager<?>>>@CheckForNull public final <K> KeyManager<K> keyManager(Class<K> type)
KeyManagerContainerThis is a pure function - multiple calls must return the same value for the same parameter.
keyManager in interface KeyManagerContainerK - the type of the secret keys.type - the class for the secret key type.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.