I launch a jetty instance indirectly when creating a JAX-RS endpoint using cxf
JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
sf.setResourceClasses(HelloWorldResource.class);
sf.setResourceProvider(HelloWorldResource.class, new SingletonResourceProvider(new HelloWorldResource()));
sf.setAddress("http://localhost:9000/");
sf.create();
This works just fine, but how can i configure the size of the jetty threadpool minThreads and maxThreads programmatically when launching it via CXF?