jsdsi.certstore.jdbc
Class JdbcCertificateDAO

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

public class JdbcCertificateDAO
extends java.lang.Object
implements CertificateDAO

JDBC based implementation of CertificateDAO.

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

Constructor Summary
JdbcCertificateDAO(javax.sql.DataSource ds)
          Constructor
 
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

JdbcCertificateDAO

public JdbcCertificateDAO(javax.sql.DataSource ds)
Constructor

Parameters:
ds - the DataSource to use
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.