当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PortletExceptionDuringRequestHandlingPortlet - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.portlet.jsr168.tck.portletinterface.spec
Class PortletExceptionDuringRequestHandlingPortlet
java.lang.Object
org.jboss.portal.test.framework.portlet.components.AbstractTestPortlet
org.jboss.portal.test.portlet.jsr168.tck.portletinterface.spec.PortletExceptionDuringRequestHandlingPortlet
- All Implemented Interfaces:
- Portlet
- public class PortletExceptionDuringRequestHandlingPortlet
- extends AbstractTestPortlet
DISABLED - NOT CURRENTLY USED TEST CASE
- Version:
- $Revision: 5493 $
- Author:
- Boleslaw Dawidowicz
Fields inherited from class org.jboss.portal.test.framework.portlet.components.AbstractTestPortlet |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rendered
public static boolean rendered
destroyed
public static boolean destroyed
actionURL
public static java.lang.String actionURL
PortletExceptionDuringRequestHandlingPortlet
public PortletExceptionDuringRequestHandlingPortlet()
createCaseTestId
protected java.lang.String createCaseTestId(java.lang.Class clazz)
- Description copied from class:
AbstractTestPortlet
- Get the test id from the class name. It can be overriden.
- Overrides:
createCaseTestId
in class AbstractTestPortlet
doProcessAction
protected void doProcessAction(ActionRequest req,
ActionResponse resp)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Overrides:
doProcessAction
in class AbstractTestPortlet
- Throws:
PortletException
PortletSecurityException
java.io.IOException
doRender
protected void doRender(RenderRequest req,
RenderResponse resp)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Overrides:
doRender
in class AbstractTestPortlet
- Throws:
PortletException
PortletSecurityException
java.io.IOException
destroy
public void destroy()
- Description copied from interface:
Portlet
- Called by the portlet container to indicate to a portlet that the portlet is being taken out of service.
Before the portlet container calls the destroy method, it should allow any threads that are currently processing
requests within the portlet object to complete execution. To avoid waiting forever, the portlet container can
optionally wait for a predefined time before destroying the portlet object.
This method enables the portlet to do the following:
- clean up any resources that it holds (for
example, memory, file handles, threads)
- make sure that any persistent state is synchronized with the portlet
current state in memory.
- Specified by:
destroy
in interface Portlet
- Overrides:
destroy
in class AbstractTestPortlet