Class CommonConfigurationModule

  • All Implemented Interfaces:
    com.google.inject.Module
    Direct Known Subclasses:
    JeeConfigurationModule, JeeServletConfigurationModule, JseConfigurationModule, JseStubConfigurationModule

    public class CommonConfigurationModule
    extends com.google.inject.AbstractModule
    Common binding for Google Guice. It includes every binding needed by FileSystemAccess (which cannot be configured otherwise). Thomas: Don't mind the SuppressWarnings... Sebastian: All bindings where currently copied from the link below to establish xtext 2.5.3 compatibility (we came from 2.4.0). We should investigate what's the optimal way to resolve these bindings. TODO See comment by Sebastian.
    See Also:
    ://git.eclipse.org/c/tmf/org.eclipse.xtext.git/plain/plugins/org.eclipse.xtext.ui.shared/ src/org/eclipse/xtext/ui/shared/internal/SharedModule.java
    • Constructor Detail

      • CommonConfigurationModule

        public CommonConfigurationModule()
    • Method Detail

      • getProjectURI

        public String getProjectURI()
      • setProjectURI

        public void setProjectURI​(String projectURI)
      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule