Skip to content

Package: DatabaseInitializer

DatabaseInitializer

Coverage

1: package de.fhdw.wtf.persistence.facade;
2:
3: import de.fhdw.wtf.persistence.exception.PersistenceException;
4:
5: /**
6: * Defines the interface for user specified database initializing routines for Types and associations.
7: *
8: */
9: public interface DatabaseInitializer {
10:         
11:         /**
12:          * This method initializes a set of user defined types and associations.
13:          *
14:          * @param facade
15:          * The ClassFacade which will be used during the initialization.
16:          * @param typeManager
17:          * An implementation of a type Manager. It should be used to save user types and associations created in
18:          * this initializer.
19:          * @throws PersistenceException
20:          * The Exception occurring during database communication issues.
21:          */
22:         void initialize(ClassFacade facade, TypeManagerImplementation typeManager) throws PersistenceException;
23:         
24: }