I try to override the XmlWebApplicationsContext and I dont know how to register my subclass. I found in ContextLoader.java in the method determineContextClass the following code:
String contextClassame = servletContext.getInitParameter(CONTEXT_CLASS_PARAM);
I looks like I could set the class by setting this Parameter but I down know how.
In de documentation (http://ajava.org/online/spring-3.RC2-api/org/springframework/web/context/support/XmlWebApplicationContext.html), I see the following line:
For a WebApplicationContext that reads in a different bean definition format, create an analogous subclass of AbstractRefreshableWebApplicationContext. Such a context implementation can be specified as "contextClass" context-param for ContextLoader or "contextClass" init-param for FrameworkServlet.
But this does not really help me. I still dont know hat to register my subclass. Does anyone?
Thanks für every answer!