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

Deployment - JBOSS Portal 2.6 API 英文版文档


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

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

class Deployment
extends java.lang.Object

A deployment in the portlet container.

Version:
$Revision: 5498 $
Author:
Julien Viet

Field Summary
private  boolean deployed
          .
private static org.apache.log4j.Logger log
           
private  java.util.Collection nodes
          The nodes we must deploy to.
private  java.net.URL url
          The local url of the deployment to make.
 
Constructor Summary
Deployment(java.util.Collection nodes, java.net.URL url)
           
 
Method Summary
(package private)  void deploy(TestAgentFactory testAgentFactory)
          Deploy a portlet application.
(package private)  void undeploy(TestAgentFactory testAgentFactory)
          Undeploy a portlet application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.log4j.Logger log

nodes

private final java.util.Collection nodes
The nodes we must deploy to.


url

private java.net.URL url
The local url of the deployment to make.


deployed

private boolean deployed
.

Constructor Detail

Deployment

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

deploy

void deploy(TestAgentFactory testAgentFactory)
      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

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