Examples of ForgeModule


Examples of com.puppetlabs.geppetto.forge.impl.ForgeModule

  @Before
  public void setUp() {
    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions();
    new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
    injector = Guice.createInjector(GsonModule.INSTANCE, new ForgeModule(), new ValidationModule());
  }
View Full Code Here

Examples of com.puppetlabs.geppetto.forge.impl.ForgeModule

      throw new RuntimeException("Failed to create injector for " + language, e);
    }
  }

  protected Module getForgeModule() {
    return new ForgeModule();
  }
View Full Code Here

Examples of com.puppetlabs.geppetto.forge.impl.ForgeModule

        injector = commonInjector.createChildInjector(GsonModule.INSTANCE, new ForgeHttpModule() {
          @Override
          protected String getBaseURL() {
            return TEST_FORGE_URI;
          }
        }, new ForgeServiceModule(), new ForgeModule(), testBindings);
      }
      catch(Exception e) {
        e.printStackTrace();
        fail(e.getMessage());
      }
View Full Code Here

Examples of com.puppetlabs.geppetto.forge.impl.ForgeModule

  public void setUp() {
    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions();
    injector = new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
    injector = injector.createChildInjector(
      GsonModule.INSTANCE, new ForgeModule(), new ValidationModule(), new DependencyGraphModule(
        JavascriptHrefProducer.class, ""));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.