jsdsi.certstore
Class InMemoryCertificateDAO

java.lang.Object
  extended byjsdsi.certstore.InMemoryCertificateDAO
All Implemented Interfaces:
CertificateDAO

public class InMemoryCertificateDAO
extends java.lang.Object
implements CertificateDAO

Pure memory based implementation of CertificateDAO, storing certificates indexed by various MultiMaps.

Version:
$Revision: 1.1.2.1 $ $Date: 2004/12/12 17:01:39 $
Author:
Sean Radford

Constructor Summary
InMemoryCertificateDAO()
           
 
Method Summary
 java.util.Collection retrieve(CertSelector selector)
          Retrieves a collection of certificates from a store.
 void store(Certificate certificate)
          Optional operation for storing a certificate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryCertificateDAO

public InMemoryCertificateDAO()
Method Detail

store

public void store(Certificate certificate)
Description copied from interface: CertificateDAO
Optional operation for storing a certificate.

Specified by:
store in interface CertificateDAO
Parameters:
certificate - the certificate to be stored.
See Also:
CertificateDAO.store(jsdsi.Certificate)

retrieve

public java.util.Collection retrieve(CertSelector selector)
Description copied from interface: CertificateDAO
Retrieves a collection of certificates from a store.

Specified by:
retrieve in interface CertificateDAO
Parameters:
selector - to select certificates to retrieve
Returns:
the collection of certificates
See Also:
CertificateDAO.retrieve(jsdsi.CertSelector)


Copyright © 2002-2006 JSDSI. All Rights Reserved.