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>
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 Summary
Modifier and TypeMethodDescriptionstatic javax.inject.Provider<com.google.inject.Injector>
Get the instance of the provider.protected org.eclipse.xtext.ISetup
Finds anISetup
implementation to get anInjector
instance from.Methods inherited from class org.palladiosimulator.commons.stoex.api.impl.generic.GenericXtextStoExStandaloneInjectorProvider
get
-
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 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.
-