Class GenericXtextStoExStandaloneInjectorProvider
- java.lang.Object
-
- org.palladiosimulator.commons.stoex.api.impl.generic.GenericXtextStoExStandaloneInjectorProvider
-
- All Implemented Interfaces:
javax.inject.Provider<com.google.inject.Injector>
- Direct Known Subclasses:
PlainXtextStoExInjectorProvider
public abstract class GenericXtextStoExStandaloneInjectorProvider extends Object implements javax.inject.Provider<com.google.inject.Injector>
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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenericXtextStoExStandaloneInjectorProvider()
Constructor not meant to be called by users.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.google.inject.Injector
get()
protected abstract org.eclipse.xtext.ISetup
getStoexSetup()
Finds anISetup
implementation to get anInjector
instance from.
-
-
-
Method Detail
-
get
public com.google.inject.Injector get()
- Specified by:
get
in interfacejavax.inject.Provider<com.google.inject.Injector>
-
getStoexSetup
protected abstract org.eclipse.xtext.ISetup getStoexSetup()
Finds anISetup
implementation to get anInjector
instance from. The implementation usually uses the generated standalone setup class.- Returns:
- The
ISetup
instance.
-
-