Package org.crsh.vfs.spi.servlet

Examples of org.crsh.vfs.spi.servlet.WarMountFactory


  @Override
  public void afterPropertiesSet() throws Exception {

    // Configure the war driver
    drivers.put("war", new WarMountFactory(servletContext));

    //
    super.afterPropertiesSet();
  }
View Full Code Here


    // Initialise the registerable drivers
    try {
      mountContexts.put("classpath", new ClassPathMountFactory(context.getClassLoader()));
      mountContexts.put("file", new FileMountFactory(Utils.getCurrentDirectory()));
      mountContexts.put("war", new WarMountFactory(context));
    }
    catch (Exception e) {
      log.log(Level.SEVERE, "Coult not initialize classpath driver", e);
      return;
    }
View Full Code Here

TOP

Related Classes of org.crsh.vfs.spi.servlet.WarMountFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.