comparison artifact-database/src/main/java/de/intevation/artifactdatabase/App.java @ 128:bfa65a812c7a

Made the backend singleton. artifacts/trunk@1352 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 01 Mar 2011 18:52:48 +0000
parents 933bbc9fc11f
children b2115f484edb
comparison
equal deleted inserted replaced
127:0245a87df368 128:bfa65a812c7a
60 60
61 FactoryBootstrap bootstrap = new FactoryBootstrap(); 61 FactoryBootstrap bootstrap = new FactoryBootstrap();
62 62
63 bootstrap.boot(); 63 bootstrap.boot();
64 64
65 Backend backend = new Backend(); 65 Backend backend = Backend.getInstance();
66 66
67 ArtifactDatabaseImpl db = new ArtifactDatabaseImpl( 67 ArtifactDatabaseImpl db = new ArtifactDatabaseImpl(
68 bootstrap, backend); 68 bootstrap, backend);
69 69
70 DatabaseCleaner cleaner = new DatabaseCleaner( 70 DatabaseCleaner cleaner = new DatabaseCleaner(

http://dive4elements.wald.intevation.org