站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

Deployment - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.framework.deployment
Class Deployment

java.lang.Object
  extended byorg.jboss.portal.test.framework.deployment.Deployment

public class Deployment
extends java.lang.Object

A deployment in the portlet container.


Constructor Summary
Deployment(java.util.Collection nodes, java.net.URL url)
           
 
Method Summary
 void deploy()
          Deploy a portlet application.
 void undeploy()
          Undeploy a portlet application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deployment

public Deployment(java.util.Collection nodes,
                  java.net.URL url)
Method Detail

deploy

public void deploy()
            throws org.jboss.deployment.DeploymentException,
                   java.lang.IllegalArgumentException,
                   java.lang.IllegalStateException,
                   java.io.IOException
Deploy a portlet application. This method blocks until the deployment is finished

Throws:
org.jboss.deployment.DeploymentException - if the deployment process failed
java.lang.IllegalStateException - if the session if closed
java.lang.IllegalArgumentException - if the application name does not give a valid deployment
java.io.IOException

undeploy

public void undeploy()
Undeploy a portlet application. This method blocks until the undeployment is finished.