* @param runnable
* The code to run once Errai IoC has finished bootstrapping in the
* context of the web page.
*/
public static void afterIocInitialized(final Runnable runnable) {
Bootstrapper bootstrapper = GWT.create(Bootstrapper.class);
System.out.println("before bootstrapContainer");
bootstrapper.bootstrapContainer();
System.out.println("after bootstrapContainer");
if (instance == null) {
System.out.println(" ****** Look out! Null instance!");
}
runnable.run();