Class GlassFishWebAppDeployer
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.deployment.GlassFishWebAppDeployer
-
- All Implemented Interfaces:
WebAppDeployer
public class GlassFishWebAppDeployer extends Object implements WebAppDeployer
The class which implements the WebAppDeployer interface to provide the deployment and undeployment functionality for Portlets on GlassFish container.
-
-
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 GlassFishWebAppDeployer()
Initialize the autoDeployDirectory by reading the configuration data from the config file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deploy(String warFileName)
Provides the implementation of deploying Portlet war on GlassFish.boolean
undeploy(String warFileName)
Provides the implementation of undeploying Portlet war from GlassFish.
-
-
-
Method Detail
-
deploy
public boolean deploy(String warFileName) throws WebAppDeployerException
Provides the implementation of deploying Portlet war on GlassFish.- 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
Provides the implementation of undeploying Portlet war from GlassFish.- Specified by:
undeploy
in interfaceWebAppDeployer
- Parameters:
warFileName
- The complete path to the Portlet war file.- Returns:
- boolean Returns true if the deployment is successful.
- Throws:
WebAppDeployerException
-
-