NOTE: This module depends on the presence of a {@link CacheManager}with user cache regions. @author jpk
107108109110111112113
super.addModules(modules); modules.add(new SmbizModelModule()); modules.add(new SmbizEGraphModule()); modules.add(new SmbizDb4oDaoModule(getConfig())); modules.add(new Db4oDbShellModule()); modules.add(new SmbizEntityServiceFactoryModule()); }
49505152535455
@Override public void configure(Binder binder) { binder.bind(IDbTrans.class).to(Db4oTrans.class).in(Scopes.SINGLETON); } }); modules.add(new SmbizEntityServiceFactoryModule()); }
57585960616263646566
public CacheManager get() { return new CacheManager(ClassUtil.getResource("ehcache-smbiz-persist.xml")); } }).in(Scopes.SINGLETON); install(new SmbizEntityServiceFactoryModule()); // required for satisfying GWT's RequestFactory feature requestStaticInjection(EMF.class); }