@Override public Mount<String> create(Path path) throws IOException { return new Mount<String>(new ServletContextDriver(context, path.absolute().getValue()), "war:" + path.absolute().getValue()); } }
/** * Create the command file system, this method binds the <code>/WEB-INF/crash/commands/</code> path of the * servlet context. * * @param context the servlet context * @return the command file system */ protected FS createCommandFS(ServletContext context) { return new FS().mount(new ServletContextDriver(context, "/WEB-INF/crash/commands/")); }
/** * Create the conf file system, this method binds the <code>/WEB-INF/crash/</code> path of the * servlet context. * * @param context the servlet context * @return the conf file system */ protected FS createConfFS(ServletContext context) { return new FS().mount(new ServletContextDriver(context, "/WEB-INF/crash/")); }
@Override protected FS createCommandFS() throws IOException, URISyntaxException { FS commandFS = super.createCommandFS(); if (servletContext != null) { commandFS.mount(new ServletContextDriver(servletContext, "/WEB-INF/crash/commands/")); } return commandFS; }
@Override public Mount<String> create(Path path) throws IOException { return new Mount<String>(new ServletContextDriver(context, path.absolute().getValue()), "war:" + path.absolute().getValue()); } }
@Override public Mount<String> create(Path path) throws IOException { return new Mount<String>(new ServletContextDriver(context, path.absolute().getValue()), "war:" + path.absolute().getValue()); } }