org.eclipse.xtext.purexbase
Class PureXbaseInjectorProvider

java.lang.Object
  extended by org.eclipse.xtext.purexbase.PureXbaseInjectorProvider
All Implemented Interfaces:
IInjectorProvider, IRegistryConfigurator

public class PureXbaseInjectorProvider
extends java.lang.Object
implements IInjectorProvider, IRegistryConfigurator


Constructor Summary
PureXbaseInjectorProvider()
           
 
Method Summary
 com.google.inject.Injector getInjector()
           
 void restoreRegistry()
          Complement method to IRegistryConfigurator.setupRegistry() to be called after any test execution.
 void setupRegistry()
          Enables the same behaviour such as junit's Before which is used to prepare or setup some required state expected by the actual test method execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PureXbaseInjectorProvider

public PureXbaseInjectorProvider()
Method Detail

getInjector

public com.google.inject.Injector getInjector()
Specified by:
getInjector in interface IInjectorProvider

restoreRegistry

public void restoreRegistry()
Description copied from interface: IRegistryConfigurator
Complement method to IRegistryConfigurator.setupRegistry() to be called after any test execution.

Specified by:
restoreRegistry in interface IRegistryConfigurator

setupRegistry

public void setupRegistry()
Description copied from interface: IRegistryConfigurator
Enables the same behaviour such as junit's Before which is used to prepare or setup some required state expected by the actual test method execution.

Specified by:
setupRegistry in interface IRegistryConfigurator