Class 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 Detail

      • 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 Detail

      • 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