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
-
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
CommonConfigurationModule
public CommonConfigurationModule()
-
-
Method Details
-
getProjectURI
-
setProjectURI
-
configure
protected void configure()- Specified by:
configure
in classcom.google.inject.AbstractModule
-