public interface KeyManagerProvider
Implementations must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
<K> KeyManager<K> |
get(java.lang.Class<K> type)
Returns the singleton key manager for the given key type.
|
@NonNull <K> KeyManager<K> get(@NonNull java.lang.Class<K> type)
Calling this method several times must return the same key manager for the same key type in order to ensure consistency of the key space.
java.util.ServiceConfigurationError - if no appropriate key manager is
available.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.