public void reload(long wait) throws ServletException { if(!reloading) { LOG.info("Start reload doOrienteerFilter with doOrienteerFilter config: " + filterConfig); reloading = true; destroy(); try { Thread.currentThread().sleep(wait); } catch (InterruptedException e) { /*NOP*/ } OrienteerClassLoaderUtil.reindex(); init(filterConfig); WicketWebjars.reindex(OrienteerWebApplication.lookupApplication()); reloading = false; } }