| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTestCase
org.jboss.portal.test.portlet.state.AbstractStatefulPortletInvokerTestCase
org.jboss.portal.test.portlet.state.ConsumerStatefulPortletInvokerTestCase
| Field Summary | |
| protected  ConsumerPortletInvoker | consumer. | 
| protected  ConsumerPersistenceManagerService | consumerPersistenceManager. | 
| protected  PortletInvokerSupport | container. | 
| protected  boolean | persistLocally. | 
| protected  ProducerPortletInvoker | producer. | 
| protected  ProducerPersistenceManagerService | producerPersistenceManager. | 
| protected  StateConverterService | stateConverter. | 
| protected  StateManagementPolicyService | stateManagementPolicy. | 
| Constructor Summary | |
| ConsumerStatefulPortletInvokerTestCase(boolean persistLocally) | |
| Method Summary | |
| protected  void | assertNoExistingState() | 
| protected  ActionInvocation | createAction(java.lang.Object portletRef,
             AccessMode accessMode) | 
| protected  java.lang.Object | createClone(java.lang.Object portletRef) | 
| protected  java.lang.Object | createInvalidPOPRef() | 
| protected  java.lang.Object | createLocalClone(java.lang.Object portletRef) | 
| protected  java.lang.Object | createNonExistingPOPRef() | 
| protected  java.lang.Object | createPOPRef(PortletSupport portletSupport) | 
| protected  void | destroyClone(java.lang.Object portletRef) | 
| protected  java.util.List | destroyClones(java.util.List portletRefs) | 
| protected  java.lang.Object | getImplicitClonedRef(ActionInvocation action) | 
| protected  java.lang.Object | getModifiedPortletRef(ActionInvocation action) | 
| protected  Portlet | getPortlet(java.lang.Object portletRef) | 
| protected  java.lang.String | getPortletId(java.lang.Object portletRef) | 
| protected  PropertyMap | getProperties(java.lang.Object portletRef) | 
| protected  PropertyMap | getProperties(java.lang.Object portletRef,
              java.util.Set keys) | 
| private  Portlet | getSinglePOP() | 
| protected  void | invoke(PortletInvocation invocation) | 
| protected  java.lang.Object | setProperties(java.lang.Object portletRef,
              PropertyChange[] changes) | 
| protected  void | setUp() | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected final boolean persistLocally
protected ConsumerPortletInvoker consumer
protected ConsumerPersistenceManagerService consumerPersistenceManager
protected ProducerPortletInvoker producer
protected PortletInvokerSupport container
protected ProducerPersistenceManagerService producerPersistenceManager
protected StateManagementPolicyService stateManagementPolicy
protected StateConverterService stateConverter
| Constructor Detail | 
public ConsumerStatefulPortletInvokerTestCase(boolean persistLocally)
| Method Detail | 
protected void setUp()
              throws java.lang.Exception
java.lang.Exceptionprotected Portlet getPortlet(java.lang.Object portletRef) throws PortletInvokerException
getPortlet in class AbstractStatefulPortletInvokerTestCasePortletInvokerExceptionprotected java.lang.Object createPOPRef(PortletSupport portletSupport) throws PortletInvokerException
createPOPRef in class AbstractStatefulPortletInvokerTestCasePortletInvokerException
protected java.lang.Object createNonExistingPOPRef()
                                            throws PortletInvokerException
createNonExistingPOPRef in class AbstractStatefulPortletInvokerTestCasePortletInvokerException
protected java.lang.Object createInvalidPOPRef()
                                        throws PortletInvokerException
createInvalidPOPRef in class AbstractStatefulPortletInvokerTestCasePortletInvokerException
protected java.lang.Object createLocalClone(java.lang.Object portletRef)
                                     throws java.lang.Exception
createLocalClone in class AbstractStatefulPortletInvokerTestCasejava.lang.Exception
protected void destroyClone(java.lang.Object portletRef)
                     throws java.lang.Exception
destroyClone in class AbstractStatefulPortletInvokerTestCasejava.lang.Exceptionprotected void assertNoExistingState()
assertNoExistingState in class AbstractStatefulPortletInvokerTestCase
protected java.lang.Object createClone(java.lang.Object portletRef)
                                throws PortletInvokerException
createClone in class AbstractStatefulPortletInvokerTestCasePortletInvokerException
protected java.lang.Object setProperties(java.lang.Object portletRef,
                                         PropertyChange[] changes)
                                  throws PortletInvokerException
setProperties in class AbstractStatefulPortletInvokerTestCasePortletInvokerExceptionprotected PropertyMap getProperties(java.lang.Object portletRef) throws PortletInvokerException
getProperties in class AbstractStatefulPortletInvokerTestCasePortletInvokerExceptionprotected PropertyMap getProperties(java.lang.Object portletRef, java.util.Set keys) throws PortletInvokerException
getProperties in class AbstractStatefulPortletInvokerTestCasePortletInvokerException
protected java.util.List destroyClones(java.util.List portletRefs)
                                throws PortletInvokerException
destroyClones in class AbstractStatefulPortletInvokerTestCasePortletInvokerException
protected java.lang.String getPortletId(java.lang.Object portletRef)
                                 throws PortletInvokerException
getPortletId in class AbstractStatefulPortletInvokerTestCasePortletInvokerExceptionprotected void invoke(PortletInvocation invocation) throws PortletInvokerException
invoke in class AbstractStatefulPortletInvokerTestCasePortletInvokerExceptionprotected ActionInvocation createAction(java.lang.Object portletRef, AccessMode accessMode)
createAction in class AbstractStatefulPortletInvokerTestCaseprotected java.lang.Object getImplicitClonedRef(ActionInvocation action)
getImplicitClonedRef in class AbstractStatefulPortletInvokerTestCaseprotected java.lang.Object getModifiedPortletRef(ActionInvocation action)
getModifiedPortletRef in class AbstractStatefulPortletInvokerTestCaseprivate Portlet getSinglePOP() throws PortletInvokerException
PortletInvokerException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||