Package lumis.portal.appserver
Class GenericApplicationServerManager
- java.lang.Object
-
- lumis.portal.appserver.GenericApplicationServerManager
-
- All Implemented Interfaces:
IApplicationServerManager
,IAppServerDeployer
public class GenericApplicationServerManager extends Object implements IApplicationServerManager, IAppServerDeployer
Generic application server manager implementation. This implementation does not support deployment operations.- Since:
- 4.2.0
- Version:
- $Revision: 9601 $ $Date: 2008-07-18 15:38:17 -0300 (Fri, 18 Jul 2008) $
-
-
Constructor Summary
Constructors Constructor Description GenericApplicationServerManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deployWar(ZipFile warFile, String contextPath)
Deploys the given war file to the specified context path.IAppServerDeployer
getDeployer()
Returns the deployer for this application server.void
redeployWar(ZipFile warFile, String contextPath)
Redeploy the given war file to the specified context path.void
undeployWar(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(ZipFile warFile, 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(ZipFile warFile, 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(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
-
-