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.