database
Interface Resolver
- All Known Implementing Classes:
- Database
- public interface Resolver
This interface types classes able to service the SPKI.SPKIResolvable
interface.
- Version:
- $Id: Resolver.java,v 1.1.1.2 2002/05/08 22:48:28 tep Exp $
- Author:
- Per Harald Myrvang <perm@pasta.cs.uit.no>
get
public Result get(Object key)
throws DatabaseException,
NotFoundException
- Retrieve a stored object by key.
- Parameters:
key - the Object used to reference the stored object by.- Returns:
- the Object associated with the key.
- Throws:
- NotFoundException - if there were no objects associated by
key. Use the exists() method to elude this exception.
- DatabaseException - if some database-related error occured.