public PatchedServletRunner(File webXml) throws IOException, SAXException { super(webXml); patchInvocationContextFactory(); }
public PatchedServletRunner(InputStream webXML) throws IOException, SAXException { super(webXML); patchInvocationContextFactory(); }
public PatchedServletRunner(String webXMLFileSpec, EntityResolver resolver) throws IOException, SAXException { super(webXMLFileSpec, resolver); patchInvocationContextFactory(); }
public PatchedServletRunner(String webXMLFileSpec, EntityResolver resolver) throws IOException, SAXException { super(webXMLFileSpec, resolver); patchInvocationContextFactory(); }
public PatchedServletRunner() { super(); patchInvocationContextFactory(); }
public PatchedServletRunner(InputStream webXML, String contextPath) throws IOException, SAXException { super(webXML, contextPath); patchInvocationContextFactory(); }
public PatchedServletRunner(InputStream webXML) throws IOException, SAXException { super(webXML); patchInvocationContextFactory(); }
public PatchedServletRunner(File webXml) throws IOException, SAXException { super(webXml); patchInvocationContextFactory(); }
public PatchedServletRunner() { super(); patchInvocationContextFactory(); }
public PatchedServletRunner(InputStream webXML, String contextPath) throws IOException, SAXException { super(webXML, contextPath); patchInvocationContextFactory(); }
public PatchedServletRunner(File webXml, String contextPath) throws IOException, SAXException { try { Field _application = getAccessibleField(getClass(), "_application"); _application.set(this, new PatchedWebApplication(HttpUnitUtils.newParser().parse(webXml), webXml .getParentFile().getParentFile(), contextPath)); Method completeInitialization = getAccessibleMethod(getClass(), "completeInitialization", new Class<?>[] { String.class }); completeInitialization.invoke(this, contextPath); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new RuntimeException(e); } patchInvocationContextFactory(); }
public PatchedServletRunner(File webXml, String contextPath) throws IOException, SAXException { try { Field _application = getAccessibleField(getClass(), "_application"); _application.set(this, new PatchedWebApplication(HttpUnitUtils.newParser().parse(webXml), webXml .getParentFile().getParentFile(), contextPath)); Method completeInitialization = getAccessibleMethod(getClass(), "completeInitialization", new Class<?>[] { String.class }); completeInitialization.invoke(this, contextPath); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new RuntimeException(e); } patchInvocationContextFactory(); }