Class WARDeployment

java.lang.Object
org.jboss.jca.web.WARDeployment
All Implemented Interfaces:
com.github.fungal.spi.deployers.Deployment

public class WARDeployment extends Object implements com.github.fungal.spi.deployers.Deployment
A web archive deployment for JCA/SJC
Author:
Jesper Pedersen
  • Constructor Details

    • WARDeployment

      public WARDeployment(URL archive, org.eclipse.jetty.server.Handler handler, File tmpDirectory, ClassLoader cl)
      Constructor
      Parameters:
      archive - The archive
      handler - The handler
      tmpDirectory - The temporary directory
      cl - The classloader for the deployment
  • Method Details

    • getURL

      public URL getURL()
      Get the unique URL for the deployment
      Specified by:
      getURL in interface com.github.fungal.spi.deployers.Deployment
      Returns:
      The URL
    • getClassLoader

      public ClassLoader getClassLoader()
      Get the classloader
      Specified by:
      getClassLoader in interface com.github.fungal.spi.deployers.Deployment
      Returns:
      The classloader
    • destroy

      public void destroy()
      Destroy