org.eclipse.xtext.service
Class AbstractGenericModule

java.lang.Object
  extended by org.eclipse.xtext.service.AbstractGenericModule
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
AbstractGenericResourceRuntimeModule, DefaultRuntimeModule, DefaultUiModule, EmfUiModule, SharedStateModule

public abstract class AbstractGenericModule
extends java.lang.Object
implements com.google.inject.Module

Author:
Heiko Behrens - Initial contribution and API, Sven Efftinge, Sebastian Zarnekow

Constructor Summary
AbstractGenericModule()
           
 
Method Summary
protected  void bindProperties(com.google.inject.Binder binder, java.lang.String propertyFilePath)
           
 void configure(com.google.inject.Binder binder)
           
 CompoundModule getBindings()
           
protected  java.util.Properties tryBindProperties(com.google.inject.Binder binder, java.lang.String propertyFilePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGenericModule

public AbstractGenericModule()
Method Detail

configure

public void configure(com.google.inject.Binder binder)
Specified by:
configure in interface com.google.inject.Module

getBindings

public final CompoundModule getBindings()

bindProperties

protected void bindProperties(com.google.inject.Binder binder,
                              java.lang.String propertyFilePath)

tryBindProperties

protected java.util.Properties tryBindProperties(com.google.inject.Binder binder,
                                                 java.lang.String propertyFilePath)