long injectorStartupTime = System.currentTimeMillis() - startTime;
logger.info("Ninja injector started in " + injectorStartupTime + " ms.");
Preconditions.checkNotNull(injector, "Ninja injector cannot be generated. Please check log for further errors.");
Ninja ninja = injector.getInstance(Ninja.class);
ninja.onFrameworkStart();
}