当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
ClientSession - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.junit
Class ClientSession
java.lang.Object
org.jboss.portal.junit.ClientSession
- public class ClientSession
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doGet
public ServerResponse doGet(java.lang.String uri,
java.lang.String[] componentNames)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
- if the session if closed
doGet
public ServerResponse doGet(java.lang.String uri)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
- if the session if closed
deploy
public void deploy(java.lang.String appId)
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()
throws java.lang.IllegalStateException
- Undeploy a portlet application. This method blocks until the undeployment is finished.
- Throws:
java.lang.IllegalStateException
- if the session if closed
close
public void close()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
- if the session is closed
isClosed
public boolean isClosed()