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 anInjectorfor the StoEx language. The class is meant to be used in standalone environments. It should never be necessary to get anInjectorin OSGi environments.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.inject.Provider<com.google.inject.Injector>getInstance()Get the instance of the provider.protected org.eclipse.xtext.ISetupgetStoexSetup()Finds anISetupimplementation to get anInjectorinstance from.-
Methods inherited from class org.palladiosimulator.commons.stoex.api.impl.generic.GenericXtextStoExStandaloneInjectorProvider
get
-
-
-
-
Method Detail
-
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:GenericXtextStoExStandaloneInjectorProviderFinds anISetupimplementation to get anInjectorinstance from. The implementation usually uses the generated standalone setup class.- Specified by:
getStoexSetupin classGenericXtextStoExStandaloneInjectorProvider- Returns:
- The
ISetupinstance.
-
-