Class DefaultWebAppDeployer
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.deployment.DefaultWebAppDeployer
-
- All Implemented Interfaces:
WebAppDeployer
public class DefaultWebAppDeployer extends Object implements WebAppDeployer
The DefaultWebAppDeployer class provides the default implementation of the the WebAppDeployer interface.
-
-
Field Summary
-
Fields inherited from interface com.sun.portal.portletcontainer.admin.deployment.WebAppDeployer
CONFIG_FILE, WAR_NOT_DEPLOYED, WAR_NOT_UNDEPLOYED
-
-
Constructor Summary
Constructors Constructor Description DefaultWebAppDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deploy(String warFileName)
Deploys the Portlet war on the web container.boolean
undeploy(String warFileName)
Undeploys the Portlet war from the web container.
-
-
-
Method Detail
-
deploy
public boolean deploy(String warFileName) throws WebAppDeployerException
Description copied from interface:WebAppDeployer
Deploys the Portlet war on the web container.- Specified by:
deploy
in interfaceWebAppDeployer
- Parameters:
warFileName
- The complete path to the Portlet war file.- Returns:
- boolean Returns true if the deployment is successful.
- Throws:
WebAppDeployerException
-
undeploy
public boolean undeploy(String warFileName) throws WebAppDeployerException
Description copied from interface:WebAppDeployer
Undeploys the Portlet war from the web container.- Specified by:
undeploy
in interfaceWebAppDeployer
- Parameters:
warFileName
- The name of the Portlet war file.- Returns:
- boolean Returns true if the undeployment is successful.
- Throws:
WebAppDeployerException
-
-