|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.deployer.Deployer<V,T>
com.sun.grizzly.http.deployer.FromURIDeployer<WarDeployable,WarDeploymentConfiguration>
com.sun.grizzly.http.servlet.deployer.WarDeployer
public class WarDeployer
FromURIDeployer for War files.
| Constructor Summary | |
|---|---|
WarDeployer()
|
|
| Method Summary | |
|---|---|
static void |
cleanup(String folder)
Will try to delete the folder and his children |
protected Map<GrizzlyAdapter,Set<String>> |
convert(WarDeployable toDeploy,
WarDeploymentConfiguration configuration)
|
protected WarDeployable |
fromURI(URI uri,
WarDeploymentConfiguration configuration)
|
static String |
getDefaultWorkFolder()
|
protected WebAppAdapter |
getWebAppAdapter(ClassLoader webAppCL)
returns a WebAppAdapter. |
String |
getWorkFolder()
|
boolean |
isForceCleanUp()
|
protected void |
setExtraConfig(ServletAdapter sa,
WarDeploymentConfiguration configuration)
Should be used to set configuration that are not in web.xml |
void |
setForceCleanUp(boolean forceCleanUp)
|
void |
setWorkFolder(String workFolder)
|
| Methods inherited from class com.sun.grizzly.http.deployer.FromURIDeployer |
|---|
deploy |
| Methods inherited from class com.sun.grizzly.http.deployer.Deployer |
|---|
deploy, undeploy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WarDeployer()
| Method Detail |
|---|
protected Map<GrizzlyAdapter,Set<String>> convert(WarDeployable toDeploy,
WarDeploymentConfiguration configuration)
throws DeployException
convert in class Deployer<WarDeployable,WarDeploymentConfiguration>DeployException
protected WarDeployable fromURI(URI uri,
WarDeploymentConfiguration configuration)
throws DeployException
fromURI in class FromURIDeployer<WarDeployable,WarDeploymentConfiguration>DeployExceptionpublic static String getDefaultWorkFolder()
public static void cleanup(String folder)
folder - foldernameprotected WebAppAdapter getWebAppAdapter(ClassLoader webAppCL)
webAppCL - the ClassLoader
protected void setExtraConfig(ServletAdapter sa,
WarDeploymentConfiguration configuration)
sa - ServletAdapterconfiguration - configurationpublic boolean isForceCleanUp()
public void setForceCleanUp(boolean forceCleanUp)
public String getWorkFolder()
public void setWorkFolder(String workFolder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||