Package org.jboss.deployers.vfs.plugins.client

Examples of org.jboss.deployers.vfs.plugins.client.AbstractVFSDeployment


  @Override
  protected ClassLoader createTopLevelClassLoader(DeploymentContext context) throws Exception {
   
    ClassLoader current = Thread.currentThread().getContextClassLoader();
   
    AbstractVFSDeployment deployment = (AbstractVFSDeployment) context.getDeployment();
    VirtualFile root = deployment.getRoot();
    URL url = root.getHandler().toURL();
   
    URLClassLoader cl = new URLClassLoader(new URL[] {url}, current);
    context.setClassLoader(cl);
   
View Full Code Here


   }

   @Override
   protected Deployment createDeployment()
   {
      return new AbstractVFSDeployment(getVirtualFile("/dummy"));
   }
View Full Code Here

   {
      URL url = getDeploymentURL();
      try
      {
         VirtualFile file = VFS.getRoot(url);
         return new AbstractVFSDeployment(file);
      }
      catch (IOException e)
      {
         throw new RuntimeException("Failed to get virtual file " + url + " for " + getName());
      }
View Full Code Here

TOP

Related Classes of org.jboss.deployers.vfs.plugins.client.AbstractVFSDeployment

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.