}
return method.invoke(new InitialContext(), args);
}
});
CoreContainerSystem containerSystem = new CoreContainerSystem(new IvmJndiFactory());
WebContext webContext = new WebContext(application);
webContext.setId(webApp.getId());
webContext.setClassLoader(webModule.getClassLoader());
webContext.getInjections().add(new Injection("SimpleEJBLocalBean", "simple", RestWithInjections.class));
webContext.setJndiEnc(ctx);