Package org.jboss.wsf.common

Examples of org.jboss.wsf.common.URLLoaderAdapter.toURL()


      // the expanded war file structure and thus breaks service-ref usage for servlet clients.
      // This needs to be fixed in org.jboss.web.AbstractWebDeployer (JBOSS_AS/server module)
      if (vfsRoot instanceof URLLoaderAdapter)
      {
         URLLoaderAdapter ula = (URLLoaderAdapter)vfsRoot;
         URL rootURL = ula.toURL();
         if ("file".equals(rootURL.getProtocol()) && rootURL.getFile().endsWith(".war"))
         {
            String fileName = rootURL.getFile();

            if (!new File(fileName).exists()) // might be an exploded directory
View Full Code Here


      // the expanded war file structure and thus breaks service-ref usage for servlet clients.
      // This needs to be fixed in org.jboss.web.AbstractWebDeployer (JBOSS_AS/server module)
      if (vfsRoot instanceof URLLoaderAdapter)
      {
         URLLoaderAdapter ula = (URLLoaderAdapter)vfsRoot;
         URL rootURL = ula.toURL();
         if ("file".equals(rootURL.getProtocol()) && rootURL.getFile().endsWith(".war"))
         {
            String fileName = rootURL.getFile();

            if (!new File(fileName).exists()) // might be an exploded directory
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.