Examples of PropertiesModule


Examples of org.apache.shindig.common.PropertiesModule

    );
    rewriter
        = new RenderingGadgetRewriter(messageBundleFactory, expressions, config, featureRegistryProvider,
            jsServingPipeline, jsUriManager,
            new DefaultConfigProcessor(configContributors, config), gadgetAdminStore);
    Injector injector = Guice.createInjector(new ParseModule(), new PropertiesModule());
    parser = injector.getInstance(GadgetHtmlParser.class);
  }
View Full Code Here

Examples of org.apache.shindig.common.PropertiesModule

   * Test that existing custom handlers won't be broken with the switch
   * to injecting List<ProviderHandler>.
   */
  public void testCustomHandler() {
    Injector injector = Guice.createInjector(new SocialApiGuiceModule(),
        new CustomAuthHandlerProviderModule(), new PropertiesModule());

    AuthenticationHandlerProvider provider = injector.getInstance(
        AuthenticationHandlerProvider.class);
    assertEquals(0, provider.get().size());

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.