|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.faces.loader.FacesPortlet
public class FacesPortlet
Constructor Summary | |
---|---|
FacesPortlet()
|
Method Summary | |
---|---|
void |
destroy()
Called by the portlet container to indicate to a portlet that the portlet is being taken out of service. |
void |
init(PortletConfig config)
Called by the portlet container to indicate to a portlet that the portlet is being placed into service. |
void |
processAction(ActionRequest request,
ActionResponse response)
Called by the portlet container to allow the portlet to process an action request. |
void |
render(RenderRequest request,
RenderResponse response)
Called by the portlet container to allow the portlet to generate the content of the response based on its current state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacesPortlet()
Method Detail |
---|
public void init(PortletConfig config) throws PortletException
Portlet
The portlet container calls the init
method exactly once after instantiating the portlet. The
init
method must complete successfully before the portlet can receive any requests.
The portlet container cannot place the portlet into service if the init
method
PortletException
init
in interface Portlet
config
- a PortletConfig
object containing the portlet's configuration and initialization
parameters
PortletException
- if an exception has occurred that interferes with the portlet's normal operation.
UnavailableException
- if the portlet cannot perform the initialization at this time.public void processAction(ActionRequest request, ActionResponse response) throws PortletException, PortletSecurityException, java.io.IOException
Portlet
RenderResponse.createActionURL()
method.
Typically, in response to an action request, a portlet updates state based on the information sent in the action
request parameters. In an action the portlet may:
processAction
in interface Portlet
request
- the action requestresponse
- the action response
PortletException
- if the portlet has problems fulfilling the request
UnavailableException
- if the portlet is unavailable to process the action at this time
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
java.io.IOException
- if the streaming causes an I/O problempublic void render(RenderRequest request, RenderResponse response) throws PortletException, PortletSecurityException, java.io.IOException
Portlet
render
in interface Portlet
request
- the render requestresponse
- the render response
PortletException
- if the portlet has problems fulfilling the rendering request
UnavailableException
- if the portlet is unavailable to perform render at this time
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
java.io.IOException
- if the streaming causes an I/O problempublic void destroy()
Portlet
This method enables the portlet to do the following:
destroy
in interface Portlet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |