}, address,intents);
EndpointDescription endpdDesc = null;
Thread.currentThread().setContextClassLoader(JAXRSServerFactoryBean.class.getClassLoader());
Server server = factory.create();
registerStopHook(bus, httpService, server, contextRoot, Constants.RS_HTTP_SERVICE_CONTEXT);
endpdDesc = new EndpointDescription(endpointProps);
exportRegistration.setServer(server);