edu.cmu.aura.service.db
Interface DBInitializer


public interface DBInitializer

A DBInitializer is used to perform custom initialization tasks when a service database is started.


Method Summary
 void initialize(Database database, org.w3c.dom.Element initElement)
          Initialize the database.
 

Method Detail

initialize

public void initialize(Database database,
                       org.w3c.dom.Element initElement)
Initialize the database. This method is called after the definition of a database has been read, but before any XML defined entries to services have been added.

Parameters:
database - the database that is being initialized.
initElement - the XML Element from the database definition file that may contain custom information for a given initializer.