public class CasProductJaxrsServlet
extends org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
Provides a single place to initialize items such as the file manager client,
working directory and configurations when the web application is started up.
Initializes the output configurations for various different formats and
stores them in "configurations" attributes by retrieving values from the
servlet context.
Methods inherited from class org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
public void init(javax.servlet.ServletConfig configuration)
throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
Throws:
javax.servlet.ServletException
initializeConfigurations
public void initializeConfigurations(javax.servlet.ServletContext context)
Initializes the output configurations for various different formats and
stores them in "configurations" attributes by retrieving values from the
servlet context.
Parameters:
context - the servlet context
Throws:
IOException - if the specified file cannot be found or read