code: private ModuleBootstrap[] readRegisteredPlugins(ApplicationConfig config, String pluginsPackage) {
          try {
              ClassLocator locator = new ClassLocator(pluginsPackage);
              return locateAll(locator,  ModuleBootstrap.class, impl -> impl.bootstrap(config));
          } catch (IllegalArgumentException e) {
              logger.warn("Did not find any " + ModuleBootstrap.class.getSimpleName() + " implementations", e);
              return null;
          }
      }
docs: /*private void initRouter(Router router, Injector localInjector) {
  router.compileRoutes(localInjector.getInstance(ActionInvoker.class));
  RouterImpl router = (RouterImpl)localInjector.getInstance(Router.class);
  ActionInvoker invoker = localInjector.getInstance(ActionInvoker.class);
  ((RouterImpl)router).compileRoutes(invoker);
  }