@Beta public class WrappingInjectorProvider extends Object implements IInjectorProvider, IRegistryConfigurator
| Constructor and Description |
|---|
WrappingInjectorProvider(IInjectorProvider delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.inject.Injector |
createInjector() |
IInjectorProvider |
getDelegate() |
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. |
public WrappingInjectorProvider(IInjectorProvider delegate)
protected com.google.inject.Injector createInjector()
public IInjectorProvider getDelegate()
public void restoreRegistry()
IRegistryConfiguratorIRegistryConfigurator.setupRegistry() to be called after any test execution.restoreRegistry in interface IRegistryConfiguratorpublic void setupRegistry()
IRegistryConfiguratorBefore which is used to prepare or setup some
required state expected by the actual test method execution.setupRegistry in interface IRegistryConfiguratorpublic com.google.inject.Injector getInjector()
getInjector in interface IInjectorProviderCopyright © 2016. All Rights Reserved.