*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-import org.wamblee.io.ClassPathResource;
-import org.wamblee.persistence.DerbyDatabase;
-import org.wamblee.system.core.Container;
+import org.wamblee.system.container.Container;
+import org.wamblee.test.persistence.DatabaseBuilder;
- /*
- aContainer
- .addComponent(new PropertyComponent(
- "dbProps",
- new ClassPathResource(
- "properties/test.org.wamblee.security.database.properties")));
- */
- aContainer.addComponent(new DatabaseComponent("db",
- new DerbyDatabase()));
+ aContainer.addComponent(new DatabaseComponent("db", DatabaseBuilder
+ .getDatabase()));