Exemple #1
0
  public static void setup() {

    RegistryBuilder builder = new RegistryBuilder();
    builder.add(DTOGenerationModule.class);
    registry = builder.build();
    registry.performRegistryStartup();
    mainDB = registry.getService(DBConnectionPoolService.class, MainDB.class);
    secondaryDB = registry.getService(DBConnectionPoolService.class, SecondaryDB.class);
  }
  @BeforeSuite
  public final void setup_registry() {
    RegistryBuilder builder = new RegistryBuilder();

    builder.add(TapestryModule.class, ForceDevelopmentModeModule.class);

    registry = builder.build();

    registry.performRegistryStartup();
  }