Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mozilla.jss
Class DatabaseCloser

    java.lang.Object
      |
      +--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.

Field Summary
`private static java.lang.String[]` | `authorizedClosers`

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`

Field Detail

### authorizedClosers

    private static final java.lang.String[] authorizedClosers

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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD