import org.wamblee.system.container.Container;
-
/**
- * DOCUMENT ME!
- *
+ *
* @author $author$
* @version $Revision$
- */
+ */
public class DatabaseComponentFactory {
- /**
- * DOCUMENT ME!
- *
- * @param aContainer DOCUMENT ME!
- */
public static void addDatabaseConfig(Container aContainer) {
try {
- aContainer.addComponent(new DatabaseComponent("db",
- DatabaseBuilder.getDatabase()));
+ aContainer.addComponent(new DatabaseComponent("db", DatabaseBuilder
+ .getDatabase()));
} catch (Exception e) {
- throw new RuntimeException("Could not add database configuration", e);
+ throw new RuntimeException("Could not add database configuration",
+ e);
}
}
}