Package org.springframework.osgi.web.deployer

Examples of org.springframework.osgi.web.deployer.ContextPathStrategy


      if (OsgiBundleUtils.isSystemBundle(bundle) || bundle.getBundleId() == bundleId)
        return;
    }

    WarScanner localWarScanner;
    ContextPathStrategy localCPS;

    synchronized (lock) {
      localWarScanner = warScanner;
      localCPS = contextPathStrategy;
    }

    // check if the bundle is a war
    if (localWarScanner.isWar(bundle)) {
      // get bundle name
      String contextPath = localCPS.getContextPath(bundle);
      // make sure it doesn't contain spaces (causes subtle problems with Tomcat Jasper)
      Assert.doesNotContain(contextPath, " ", "context path should not contain whitespaces");
      String msg = OsgiStringUtils.nullSafeNameAndSymName(bundle)
          + " is a WAR, scheduling war deployment on context path [" + contextPath + "] (";
View Full Code Here

TOP

Related Classes of org.springframework.osgi.web.deployer.ContextPathStrategy

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.