40414243444546474849
@Inject(optional = true) IEntityGraphPopulator populator; @Override public IDbShell get() { return new Db4oDbShell(db4oUri, populator, c); } }).in(Scopes.SINGLETON); }
858687888990919293
} @Override protected void afterClass() { super.afterClass(); Db4oDbShell dbShell = (Db4oDbShell) getDbShell(); dbShell.killDbSession(injector.getInstance(EmbeddedObjectContainer.class)); injector.getInstance(CacheManager.class).shutdown(); }
9899100101102103104105106