public void start() {
   if (!webApp.isInitiated()) {
     webApp.initiate(resourceConfig);
   }
 }
 protected void initiate(final ResourceConfig config, final WebApplication webApp) {
   this.resourceConfig = checkNotNull(config);
   webApp.initiate(config, componentProviderFactory);
 }