Package org.jboss.jca.web
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 Summary
Constructors Constructor Description WARDeployment(URL archive, org.eclipse.jetty.server.Handler handler, File tmpDirectory, ClassLoader cl)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()DestroyClassLoadergetClassLoader()Get the classloaderURLgetURL()Get the unique URL for the deployment
-
-
-
Constructor Detail
-
WARDeployment
public WARDeployment(URL archive, org.eclipse.jetty.server.Handler handler, File tmpDirectory, ClassLoader cl)
Constructor- Parameters:
archive- The archivehandler- The handlertmpDirectory- The temporary directorycl- The classloader for the deployment
-
-
Method Detail
-
getURL
public URL getURL()
Get the unique URL for the deployment- Specified by:
getURLin interfacecom.github.fungal.spi.deployers.Deployment- Returns:
- The URL
-
getClassLoader
public ClassLoader getClassLoader()
Get the classloader- Specified by:
getClassLoaderin interfacecom.github.fungal.spi.deployers.Deployment- Returns:
- The classloader
-
destroy
public void destroy()
Destroy
-
-