/** * Servlet cleanup. */ public void destroy() { if (webApplication != null) { webApplication.internalDestroy(); webApplication = null; } }
/** * Servlet cleanup. */ public void destroy() { if (webApplication != null) { webApplication.internalDestroy(); webApplication = null; } if (webApplicationFactory != null) { if (webApplicationFactory instanceof IDestroyableWebApplicationFactory) { ((IDestroyableWebApplicationFactory)webApplicationFactory).destroy(); } } }
/** * clears this mock application */ public void destroy() { filter.destroy(); File dir = (File)context.getAttribute("javax.servlet.context.tempdir"); deleteDir(dir); application.internalDestroy(); }
/** * Destroys the tester. Restores {@link ThreadContext} to state before instance of * {@link WicketTester} was created. */ public void destroy() { try { ThreadContext.setApplication(application); application.internalDestroy(); } finally { ThreadContext.detach(); } }
/** * Destroys the tester. Restores {@link ThreadContext} to state before instance of * {@link WicketTester} was created. */ public void destroy() { try { ThreadContext.setApplication(application); application.internalDestroy(); } finally { ThreadContext.detach(); } }
application.internalDestroy();
application.internalDestroy();