public interface WebServer extends Component<WebServerDescriptor,ServerEnvironment>
Modifier and Type | Method and Description |
---|---|
void |
deploy(String webAppName,
String contextName,
String targetPath,
String warFilePath)
Deploys the specified war file to the configured web server
|
String |
getURL()
Returns the URL to this WebServer
|
String |
getWebAppDir()
Returns the path to the webapp directory of this WebServer
|
boolean |
isDeployed(String webAppName,
String contextName,
String targetPath)
Returns true if the contextName is deployed and false otherwise
|
boolean |
isHidden()
Returns if the Webserver is hidden (actually only the internal)
if true, then its hidden in the web-server configuration...
|
boolean |
supportsDeploy()
Returns if the webserver supports deploy
|
boolean |
supportsDeployState()
Returns if the webserver supports deploy
|
boolean |
supportsUndeploy()
Returns if the webserver supports undeploy
|
void |
undeploy(String webAppName,
String contextName,
String targetPath)
Undeploys the specified context
|
init, installed, uninstalling, updated
void deploy(String webAppName, String contextName, String targetPath, @NotNull String warFilePath)
contextName
- name of the target contexttargetPath
- relative target path to webapplicationwebAppName
- webapplication namewarFilePath
- path to deployable war filevoid undeploy(String webAppName, String contextName, String targetPath)
contextName
- name of the target contexttargetPath
- relative target path to webapplicationwebAppName
- webapplication nameboolean isDeployed(String webAppName, String contextName, String targetPath)
contextName
- name of the target contextwebAppName
- webapplication nametargetPath
- target path relative to web directoryboolean supportsDeployState()
boolean supportsDeploy()
boolean supportsUndeploy()
boolean isHidden()
String getURL()
String getWebAppDir()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500