K - The type of the keys.@ImplementationsShouldExtend(value=AbstractKeyManager.class) public interface KeyManager<K>
AbstractKeyManager class rather than directly implementing this
interface in order to maintain binary backwards compatibility even if this
interface is changed.
Implementations must be safe for multi-threading.
KeyManagerMap| Modifier and Type | Method and Description |
|---|---|
void |
link(URI originUri,
URI targetUri)
Notifies this key manager that a protected resource has been linked.
|
KeyProvider<K> |
provider(URI uri)
Returns a key provider for accessing the identified protected resource.
|
void |
release(URI uri)
Notifies this key manager that a protected resource has been released.
|
void |
unlink(URI uri)
Notifies this key manager that a protected resource has been unlinked.
|
void link(URI originUri, URI targetUri)
originUri - the origin URI of the protected resource.targetUri - the target URI of the protected resource.KeyProvider<K> provider(URI uri)
uri - the URI of the protected resource.void release(URI uri)
uri - the URI of the protected resource.void unlink(URI uri)
release(java.net.URI).uri - the URI of the protected resource.Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.