Package com._1c.g5.v8.dt.ql.dcs
Class QlDcsInjectorProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.dcs.QlDcsInjectorProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.testing.IInjectorProvider
,org.eclipse.xtext.testing.IRegistryConfigurator
public class QlDcsInjectorProvider extends Object implements org.eclipse.xtext.testing.IInjectorProvider, org.eclipse.xtext.testing.IRegistryConfigurator
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.inject.Injector
injector
protected org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento
stateAfterInjectorCreation
protected org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento
stateBeforeInjectorCreation
-
Constructor Summary
Constructors Constructor Description QlDcsInjectorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.inject.Injector
getInjector()
protected com.google.inject.Injector
internalCreateInjector()
void
restoreRegistry()
void
setupRegistry()
-
-
-
Field Detail
-
stateBeforeInjectorCreation
protected org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento stateBeforeInjectorCreation
-
stateAfterInjectorCreation
protected org.eclipse.xtext.testing.GlobalRegistries.GlobalStateMemento stateAfterInjectorCreation
-
injector
protected com.google.inject.Injector injector
-
-
Method Detail
-
getInjector
public com.google.inject.Injector getInjector()
- Specified by:
getInjector
in interfaceorg.eclipse.xtext.testing.IInjectorProvider
-
internalCreateInjector
protected com.google.inject.Injector internalCreateInjector()
-
restoreRegistry
public void restoreRegistry()
- Specified by:
restoreRegistry
in interfaceorg.eclipse.xtext.testing.IRegistryConfigurator
-
setupRegistry
public void setupRegistry()
- Specified by:
setupRegistry
in interfaceorg.eclipse.xtext.testing.IRegistryConfigurator
-
-