当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
Deployer - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.framework.deployment
Class Deployer
java.lang.Object
org.jboss.portal.test.framework.deployment.Deployer
- public class Deployer
- extends java.lang.Object
Client side view of deployment.
- Version:
- $Revision: 5498 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deployments
private java.util.Map deployments
- .
testAgentFactory
private TestAgentFactory testAgentFactory
- .
Deployer
public Deployer()
getTestAgentFactory
public TestAgentFactory getTestAgentFactory()
setTestAgentFactory
public void setTestAgentFactory(TestAgentFactory testAgentFactory)
create
public void create()
start
public void start()
stop
public void stop()
destroy
public void destroy()
deploy
public void deploy(java.lang.String url,
Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
deploy
public void deploy(java.net.URL url,
Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
deploy
public void deploy(java.net.URL url,
java.util.Collection nodes)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.net.URL url)
deploy
public void deploy(java.lang.String url,
java.util.Collection nodes)
throws java.lang.Exception
- Throws:
java.lang.Exception
undeploy
public void undeploy(java.lang.String url)
throws java.lang.Exception
- Throws:
java.lang.Exception
getArchiveURL
private java.net.URL getArchiveURL(java.lang.String archive)
- Try to discover the URL for the deployment archive based on the archive name and "standard" archive locations
(relative to the where the test is executed):
- .
- output/libs/
- test/outputs/libs/
- output/lib/
- test/output/lib/
- ../output/lib/
- ../test/output/lib/
- Parameters:
archive
- the name of the archive to deploy
- Returns:
- a URL pointing to the archive to be deployed
- Throws:
java.lang.IllegalArgumentException
- if no archive with the given name can be found to be deployed