Guice.createInjector(Stage.PRODUCTION,
new ConfigurationModule(cf),
new ValidationErrorModule(new ConfigurationValidator(cf, null).validate(exampleModule)),
new LifeCycleModule(),
exampleModule,
new NiftyModule()
{
@Override
protected void configureNifty()
{
bind().toProvider(LoadTestServerProvider.class);