-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
[from https://github.com/resteasy/Resteasy/pull/956 ]
This allows for code such as
Server server = new Server(8080); ServletContextHandler contextHandler = new ServletContextHandler(ServletContextHandler.SESSIONS); AnnotationConfigWebApplicationContext rootContext = new AnnotationConfigWebApplicationContext(); rootContext.register(AppConfig.class); contextHandler.addEventListener(new ResteasyBootstrap()); contextHandler.addEventListener(new SpringContextLoaderListener(rootContext)); contextHandler.addServlet(HttpServletDispatcher.class, "/*"); server.setHandler(contextHandler); server.start(); server.join();
to be used inside of a servlet 3.0 container such as the Jetty server, without requiring web.xml and applicationContext.xml files.
- is blocked by
-
RESTEASY-1518 Upgrade Spring dependency to 3.1.0.RELEASE
- Resolved