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 anInjector
for the StoEx language. The class is meant to be used in standalone environments. It should never be necessary to get anInjector
in 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.ISetup
getStoexSetup()
Finds anISetup
implementation to get anInjector
instance 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:GenericXtextStoExStandaloneInjectorProvider
Finds anISetup
implementation to get anInjector
instance from. The implementation usually uses the generated standalone setup class.- Specified by:
getStoexSetup
in classGenericXtextStoExStandaloneInjectorProvider
- Returns:
- The
ISetup
instance.
-
-