Package lumis.portal.appserver
Class GenericApplicationServerManager
- java.lang.Object
-
- lumis.portal.appserver.GenericApplicationServerManager
-
- All Implemented Interfaces:
IApplicationServerManager
,IAppServerDeployer
public class GenericApplicationServerManager extends java.lang.Object implements IApplicationServerManager, IAppServerDeployer
Generic application server manager implementation. This implementation does not support deployment operations.- Since:
- 4.2.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description GenericApplicationServerManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deployWar(java.util.zip.ZipFile warFile, java.lang.String contextPath)
Deploys the given war file to the specified context path.IAppServerDeployer
getDeployer()
Returns the deployer for this application server.void
redeployWar(java.util.zip.ZipFile warFile, java.lang.String contextPath)
Redeploy the given war file to the specified context path.void
undeployWar(java.lang.String contextPath)
Undeploys the war at the specified context path.
-
-
-
Method Detail
-
getDeployer
public IAppServerDeployer getDeployer() throws PortalException
Description copied from interface:IApplicationServerManager
Returns the deployer for this application server.- Specified by:
getDeployer
in interfaceIApplicationServerManager
- Returns:
- the deployer for this application server.
- Throws:
PortalException
-
deployWar
public void deployWar(java.util.zip.ZipFile warFile, java.lang.String contextPath) throws PortalException
Description copied from interface:IAppServerDeployer
Deploys the given war file to the specified context path.- Specified by:
deployWar
in interfaceIAppServerDeployer
- Parameters:
warFile
- the war file.contextPath
- the context path.- Throws:
PortalException
-
redeployWar
public void redeployWar(java.util.zip.ZipFile warFile, java.lang.String contextPath) throws PortalException
Description copied from interface:IAppServerDeployer
Redeploy the given war file to the specified context path.- Specified by:
redeployWar
in interfaceIAppServerDeployer
- Parameters:
warFile
- the war file.contextPath
- the context path.- Throws:
PortalException
-
undeployWar
public void undeployWar(java.lang.String contextPath) throws PortalException
Description copied from interface:IAppServerDeployer
Undeploys the war at the specified context path.- Specified by:
undeployWar
in interfaceIAppServerDeployer
- Parameters:
contextPath
- the context path.- Throws:
PortalException
-
-