Class CommonConfigurationModule

java.lang.Object
com.google.inject.AbstractModule
org.palladiosimulator.protocom.traverse.framework.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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
     
    void
    setProjectURI(String projectURI)
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommonConfigurationModule

      public CommonConfigurationModule()
  • Method Details

    • getProjectURI

      public String getProjectURI()
    • setProjectURI

      public void setProjectURI(String projectURI)
    • configure

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