Package com.gwtplatform.common.client

Examples of com.gwtplatform.common.client.CommonGinModule


    }

    @Override
    protected void configureDispatch() {
        // Common
        install(new CommonGinModule());

        // Constants / Configurations
        // It's not possible to bind non-native type constants, so we must encode them at compile-time and decode them
        // at runtime (ie: Global Parameters)
        bindConstant().annotatedWith(XsrfHeaderName.class).to(builder.getXsrfTokenHeaderName());
View Full Code Here


        this.tokenFormatterClass = builder.tokenFormatterClass;
    }

    @Override
    protected void configure() {
        install(new CommonGinModule());

        bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);
        bind(TokenFormatter.class).to(tokenFormatterClass).in(Singleton.class);
        bind(RootPresenter.class).asEagerSingleton();
        bind(GoogleAnalytics.class).to(GoogleAnalyticsImpl.class).in(Singleton.class);
View Full Code Here

TOP

Related Classes of com.gwtplatform.common.client.CommonGinModule

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.