Package org.jboss.embedded.api

Examples of org.jboss.embedded.api.Deployable


      // Write the ZIP to the temp file
      archive.as(ZipExporter.class).exportZip(tmpFile, true);

      // Create a Deployable from the File
      final Deployable deployableFile = new DeployableFile(tmpFile);

      // Set
      this.createdFrom = archive;
      this.serializedView = deployableFile;
   }
View Full Code Here


            // Remove all previously-added deployables from further MainDeployer processing
            final Iterator<Entry<Deployable, Deployment>> it = deploymentsToBeAdded.entrySet().iterator();
            while (it.hasNext())
            {
               final Entry<Deployable, Deployment> next = it.next();
               final Deployable thisDeployable = next.getKey();
               try
               {
                  mainDeployer.removeDeployment(deploymentsToBeAdded.get(thisDeployable));
               }
               catch (org.jboss.deployers.spi.DeploymentException e)
View Full Code Here

      // Make new Deployables
      final Collection<Deployable> deployables = new ArrayList<Deployable>(urls.length);
      for (final URL url : urls)
      {
         final Deployable deployable = new DeployableUrl(url);
         deployables.add(deployable);
      }
      return deployables;
   }
View Full Code Here

      // Make new Deployables
      final Collection<Deployable> deployables = new ArrayList<Deployable>(archives.length);
      for (final Archive<?> archive : archives)
      {
         final Deployable deployable = new DeployableArchive(archive);
         deployables.add(deployable);
      }
      return deployables;
   }
View Full Code Here

      // Make new Deployables
      final Collection<Deployable> deployables = new ArrayList<Deployable>(files.length);
      for (final File file : files)
      {
         final Deployable deployable = new DeployableFile(file);
         deployables.add(deployable);
      }
      return deployables;
   }
View Full Code Here

      {
         throw new IllegalArgumentException("URL of file is in improper form", murle);
      }

      // Create a deployable URL delegate
      final Deployable delegate = new DeployableUrl(url);

      // Set
      this.file = file;
      this.delegate = delegate;
   }
View Full Code Here

TOP

Related Classes of org.jboss.embedded.api.Deployable

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.