Class 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

      Constructors 
      Constructor Description
      DatabaseCloser()
      Creates a new DatabaseCloser.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.