当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
NeedPortletHandleTest - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.wsrp.v1.producer
Class NeedPortletHandleTest
java.lang.Object
TestCase
org.jboss.portal.test.wsrp.WSRPBaseTest
org.jboss.portal.test.wsrp.WSRPProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.V1ProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.NeedPortletHandleTest
- Direct Known Subclasses:
- MarkupTestCase, PortletManagementTestCase
- public abstract class NeedPortletHandleTest
- extends V1ProducerBaseTest
- Since:
- 2.4
- Version:
- $Revision: 5493 $
- Author:
- Chris Laprun
- See Also:
- Serialized Form
Fields inherited from class org.jboss.portal.test.wsrp.WSRPBaseTest |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portletWARFileName
private java.lang.String portletWARFileName
warFileName2handle
private java.util.Map warFileName2handle
currentlyDeployedArchiveName
private java.lang.String currentlyDeployedArchiveName
NeedPortletHandleTest
public NeedPortletHandleTest(java.lang.String portletWARFileName)
throws java.lang.Exception
NeedPortletHandleTest
protected NeedPortletHandleTest(java.lang.String name,
java.lang.String portletWARFileName)
throws java.lang.Exception
getHandleForPortletDeployedIn
protected java.lang.String getHandleForPortletDeployedIn(java.lang.String archiveName)
throws org.jboss.portal.wsrp.core.OperationFailedFault,
org.jboss.portal.wsrp.core.InvalidRegistrationFault,
java.rmi.RemoteException
- Throws:
org.jboss.portal.wsrp.core.OperationFailedFault
org.jboss.portal.wsrp.core.InvalidRegistrationFault
java.rmi.RemoteException
getDefaultHandle
protected java.lang.String getDefaultHandle()
throws java.rmi.RemoteException,
InvalidRegistrationFault,
OperationFailedFault
- Throws:
java.rmi.RemoteException
InvalidRegistrationFault
OperationFailedFault
getHandleForCurrentlyDeployedArchive
protected java.lang.String getHandleForCurrentlyDeployedArchive()
throws java.rmi.RemoteException,
InvalidRegistrationFault,
OperationFailedFault
- Throws:
java.rmi.RemoteException
InvalidRegistrationFault
OperationFailedFault
deploy
protected void deploy(java.lang.String archiveName)
throws java.lang.Exception
- Each time we deploy a new archive, check to see if the service description has changed and add any new portlet
handles found.
- Overrides:
deploy
in class WSRPBaseTest
- Parameters:
archiveName
-
- Throws:
java.lang.Exception
printMappings
private void printMappings(java.lang.String when)
undeploy
protected void undeploy(java.lang.String archiveName)
throws java.lang.Exception
- Overrides:
undeploy
in class WSRPBaseTest
- Throws:
java.lang.Exception
setUp
public void setUp()
throws java.lang.Exception
- Description copied from class:
WSRPBaseTest
- Make it accessible from outter packages.
- Overrides:
setUp
in class V1ProducerBaseTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class V1ProducerBaseTest
- Throws:
java.lang.Exception