I'm handling the code written by third parties (it is a standalone software), and I've found a code section which is not clear to me:
JAXRSServerFactoryBean restFactory = new JAXRSServerFactoryBean();
for (int index=0; index<resourceClasses.size(); index++) {
restFactory.setResourceClasses(resourceClasses.get(index));
}
restFactory.setAddress(restServerUrl + restBasePath);
server = restFactory.create();
By the way is instantiated an Apache CXF 3.1.2 server based on Jetty, but I can not find in the documentation information about which "default" configuration is used by Jetty.
Another need is to change the configuration of Jetty (setting the parameters for the threadpool), but again I do not know how to intervene (I tried to define a beans.xml but apparently it is not read).