lumis.portal.deployment
Class GenericWarDeployer

Package class diagram package GenericWarDeployer
java.lang.Object
  extended by lumis.portal.deployment.GenericWarDeployer
All Implemented Interfaces:
IPortalDeployer

public class GenericWarDeployer
extends Object
implements IPortalDeployer

Generic deployment of a WAR file. Just do the deployment to the application server, without any portal-related feature.

Since:
4.0.7

Constructor Summary
GenericWarDeployer()
           
 
Method Summary
 boolean canHandle(DeployConfig deployConfig)
          Informs if this deployer can handle the specified deployment.
 void deploy(SessionConfig sessionConfig, DeployConfig deployConfig)
          Do the specified deployment into the portal.
 String getCustomDeploymentInterfaceId(DeployConfig deployConfig)
          Returns the service interface id to be called when the deployment will use this deployer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericWarDeployer

public GenericWarDeployer()
Method Detail

canHandle

public boolean canHandle(DeployConfig deployConfig)
Description copied from interface: IPortalDeployer
Informs if this deployer can handle the specified deployment.

Specified by:
canHandle in interface IPortalDeployer
Parameters:
deployConfig - deploy configuration.
Returns:
true if the deployer can handle the given deploy file, false otherwise.

deploy

public void deploy(SessionConfig sessionConfig,
                   DeployConfig deployConfig)
            throws PortalException
Description copied from interface: IPortalDeployer
Do the specified deployment into the portal.

Specified by:
deploy in interface IPortalDeployer
Parameters:
sessionConfig - the user session information.
deployConfig - the deploy specification.
Throws:
PortalException

getCustomDeploymentInterfaceId

public String getCustomDeploymentInterfaceId(DeployConfig deployConfig)
                                      throws PortalException
Description copied from interface: IPortalDeployer
Returns the service interface id to be called when the deployment will use this deployer. This gives the opportunity for the deployer to ask the user for its own custom options.

Specified by:
getCustomDeploymentInterfaceId in interface IPortalDeployer
Parameters:
deployConfig - the deployment specification.
Returns:
the service interface id, or null if the is no custom interface.
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.