@Override public ServiceHost start() throws Throwable {
  super.start();
  startDefaultCoreServicesSynchronously();
  super.startService(new RootNamespaceService());
  super.startService(new SampleServiceWithSharedCustomUi());
  super.startService(new SampleFactoryServiceWithCustomUi());
  super.startFactory(new SampleSimpleEchoService());
  super.startFactory(new SamplePreviousEchoService());
  super.startFactory(new ExampleService());
  super.startFactory(new ExampleTaskService());
  super.startService(new UiService());
  startSwaggerDescriptorService();
  return this;
}

@ Override public ServiceHost start ( ) throws Throwable { super . start ( ) ; startDefaultCoreServicesSynchronously ( ) ; super . startService ( new RootNamespaceService ( ) ) ; super . startService ( new SampleServiceWithSharedCustomUi ( ) ) ; super . startService ( new SampleFactoryServiceWithCustomUi ( ) ) ; super . startFactory ( new SampleSimpleEchoService ( ) ) ; super . startFactory ( new SamplePreviousEchoService ( ) ) ; super . startFactory ( new ExampleService ( ) ) ; super . startFactory ( new ExampleTaskService ( ) ) ; super . startService ( new UiService ( ) ) ; startSwaggerDescriptorService ( ) ; return this ; }
start services : a host can run multiple services .
