Package com.proofpoint.node

Examples of com.proofpoint.node.ApplicationNameModule


                URI.create("http://example.com:4444"),
                URI.create("https://example.com:4444")
        );

        Injector injector = Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
                new Module()
                {
View Full Code Here


    }

    private Injector createInjector(final StaticAnnouncementHttpServerInfoImpl httpServerInfo)
    {
        return Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
                new Module()
                {
View Full Code Here

    }

    private static TestingHttpServer createServer(final TestResource resource)
    {
        return Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new TestingNodeModule(),
                explicitJaxrsModule(),
                new JsonModule(),
                new ReportingModule(),
                new Module()
View Full Code Here

                .put("http-server.log.path", new File(tempDir, "http-request.log").getAbsolutePath())
                .build();

        ConfigurationFactory configFactory = new ConfigurationFactory(properties);
        Injector injector = Guice.createInjector(new HttpServerModule(),
                new ApplicationNameModule("test-application"),
                new TestingNodeModule(),
                new ConfigurationModule(configFactory),
                new NullEventModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
View Full Code Here

                .put("http-server.log.path", new File(tempDir, "http-request.log").getAbsolutePath())
                .build();

        ConfigurationFactory configFactory = new ConfigurationFactory(properties);
        Injector injector = Guice.createInjector(new HttpServerModule(),
                new ApplicationNameModule("test-application"),
                new TestingNodeModule(),
                new ConfigurationModule(configFactory),
                new NullEventModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
View Full Code Here

                .put("http-server.log.path", new File(tempDir, "http-request.log").getAbsolutePath())
                .build();

        ConfigurationFactory configFactory = new ConfigurationFactory(properties);
        Injector injector = Guice.createInjector(new HttpServerModule(),
                new ApplicationNameModule("test-application"),
                new TestingNodeModule(),
                new ConfigurationModule(configFactory),
                new NullEventModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
View Full Code Here

TOP

Related Classes of com.proofpoint.node.ApplicationNameModule

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.