Package javango.conf

Examples of javango.conf.SimpleModule


  Client c;
  Injector injector;
  @Override
  protected void setUp() throws Exception {
    super.setUp();
    injector = Guice.createInjector(new HibernateModule(), new SimpleModule("javango.polls.Settings"));   
    Configuration cfg = injector.getInstance(HibernateUtil.class).getConfiguration();
    new SchemaExport(cfg).drop(false, true);
    new SchemaExport(cfg).create(false, true);
    c = new Client(injector);
  }
View Full Code Here

TOP

Related Classes of javango.conf.SimpleModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.