Examples of WarScanner


Examples of com.sun.enterprise.deployment.annotation.impl.WarScanner

        if (ModuleType.EJB.equals(archivist.getModuleType())) {
            scanner = new EjbJarScanner(f, (EjbBundleDescriptor)bundleDesc,
                   classLoader);
        } else if (ModuleType.WAR.equals(archivist.getModuleType())) {
            scanner = new WarScanner(f, (WebBundleDescriptor)bundleDesc,
                   classLoader);
        } else if (ModuleType.CAR.equals(archivist.getModuleType())) {
            ApplicationClientDescriptor appClientDesc =
                    (ApplicationClientDescriptor)bundleDesc;
View Full Code Here

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
Copyright © 2018 www.massapi.com. 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.