public interface WebAppUtil extends ComputeService
ComputeService.ServiceStatusDELIM, ERROR_KEY, ERROR_REPORT_KEY, FAILURE_COUNT_KEY, ITEMS_PROCESS_COUNT, PASS_COUNT_KEY, REPORT_KEY, STARTTIME_KEY, STATUS_KEY, STOPTIME_KEY, SVC_LAUNCHING_USER, SYSTEM_PREFIX| Modifier and Type | Method and Description |
|---|---|
URL |
deploy(String context,
String portIndex,
InputStream war)
This method deploys the arg war to a new application server under the
arg context.
|
URL |
deploy(String context,
String portIndex,
InputStream war,
Map<String,String> env) |
URL |
filteredDeploy(String serviceId,
String portIndex,
InputStream war,
Map<String,String> env,
NamedFilterList filters)
This method deploys the arg war to a newly created appserver under the
arg serviceId context.
|
void |
unDeploy(URL url)
This method undeploys the webapp currently running at the arg url and
destroys the application server that was hosting it.
|
describe, getServiceId, getServiceProps, getServiceStatus, getServiceWorkDir, setServiceWorkDir, start, stopURL deploy(String context, String portIndex, InputStream war)
context - of webappportIndex - offset from configured base portwar - to deployURL filteredDeploy(String serviceId, String portIndex, InputStream war, Map<String,String> env, NamedFilterList filters)
serviceId - is the name of the context of deployed webappportIndex - offset from configured base portwar - to be deployedenv - of tomcat that will be installed/startedfilters - are names of files in the arg war to be filtered with
provided filters. Any filters that contain the strings
$DURA_HOST$ or $DURA_PORT$ will be swapped with the
host and port of the compute instance.void unDeploy(URL url)
url - of webapp to undeployCopyright © 2009-2013 DuraSpace. All Rights Reserved.