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 oldResource,
URI newResource)
Notifies this key manager that a protected resource has been linked.
|
KeyProvider<K> |
provider(URI resource)
Returns a key provider for accessing the identified protected resource.
|
void |
release(URI resource)
Notifies this key manager that a protected resource has been released.
|
void |
unlink(URI resource)
Notifies this key manager that a protected resource has been unlinked.
|
void link(URI oldResource, URI newResource)
oldResource
- the old URI of the protected resource.newResource
- the new URI of the protected resource.KeyProvider<K> provider(URI resource)
resource
- the URI of the protected resource.void release(URI resource)
resource
- the URI of the protected resource.void unlink(URI resource)
release(java.net.URI)
.resource
- the URI of the protected resource.Copyright © 2012–2017 Schlichtherle IT Services. All rights reserved.