You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss
Class DatabaseCloser

java.lang.Object
  extended by org.mozilla.jss.DatabaseCloser
Direct Known Subclasses:
CloseDBs

public abstract class DatabaseCloser
extends java.lang.Object

A class for closing databases. Since closing the databases is very dangerous and breaks the JSS model, it may only be done from special applications. This class should be subclasses by authorized subclasses. It cannot be instantiated itself.


Constructor Summary
DatabaseCloser()
          Creates a new DatabaseCloser.
 
Method Summary
protected  void closeDatabases()
          Closes the certificate and key databases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseCloser

public DatabaseCloser()
               throws java.lang.Exception
Creates a new DatabaseCloser. This should only be called from an authorized subclass. This class cannot itself be instantiated.

Throws:
java.lang.Exception - If the instantiation is not a valid subclass.
Method Detail

closeDatabases

protected void closeDatabases()
Closes the certificate and key databases. This is extremely dangerous.