Package org.springframework.osgi.web.extender.internal.scanner

Examples of org.springframework.osgi.web.extender.internal.scanner.WarScanner


      // exclude special bundles (such as the framework or this bundle)
      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)
View Full Code Here

TOP

Related Classes of org.springframework.osgi.web.extender.internal.scanner.WarScanner

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.