code: public static Main mainEmbedded(ContextFactory factory,
                                      ScopeProvider scopeProvider,
                                      String title) {
          return mainEmbeddedImpl(factory, scopeProvider, title);
      }
docs: Entry point for embedded applications.  This method attaches
  to the given {@link ContextFactory} with the given scope.  No
  I/O redirection is performed as with {@link #main(String[])}.