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

PortalTestSetup - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test
Class PortalTestSetup

java.lang.Object
  extended byorg.jboss.portal.test.PortalTestSetup

public class PortalTestSetup
extends java.lang.Object

Deals with deployment and undeployment of archives to the JBoss server

Since:
Feb 1, 2006

Constructor Summary
PortalTestSetup()
           
 
Method Summary
 void deploy(java.lang.String archive)
          Deploy the given archive
 javax.management.MBeanServerConnection getServer()
          Get the MBeanServerConnection from JNDI
 void undeploy(java.lang.String archive)
          Undeploy the given archive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalTestSetup

public PortalTestSetup()
Method Detail

deploy

public void deploy(java.lang.String archive)
            throws java.lang.Exception
Deploy the given archive

Throws:
java.lang.Exception

undeploy

public void undeploy(java.lang.String archive)
              throws java.lang.Exception
Undeploy the given archive

Throws:
java.lang.Exception

getServer

public javax.management.MBeanServerConnection getServer()
                                                 throws javax.naming.NamingException
Get the MBeanServerConnection from JNDI

Throws:
javax.naming.NamingException