Class PlainXtextStoExInjectorProvider

java.lang.Object
org.palladiosimulator.commons.stoex.api.impl.generic.GenericXtextStoExStandaloneInjectorProvider
org.palladiosimulator.commons.stoex.api.impl.PlainXtextStoExInjectorProvider
All Implemented Interfaces:
javax.inject.Provider<com.google.inject.Injector>

public class PlainXtextStoExInjectorProvider extends GenericXtextStoExStandaloneInjectorProvider
Provider to get an Injector for the StoEx language. The class is meant to be used in standalone environments. It should never be necessary to get an Injector in OSGi environments.
  • Method Details

    • getInstance

      public static javax.inject.Provider<com.google.inject.Injector> getInstance()
      Get the instance of the provider.
      Returns:
      The instance.
    • getStoexSetup

      protected org.eclipse.xtext.ISetup getStoexSetup()
      Description copied from class: GenericXtextStoExStandaloneInjectorProvider
      Finds an ISetup implementation to get an Injector instance from. The implementation usually uses the generated standalone setup class.
      Specified by:
      getStoexSetup in class GenericXtextStoExStandaloneInjectorProvider
      Returns:
      The ISetup instance.