Package org.gatein.pc.portlet.container
Interface PortletContainer
-
- All Known Subinterfaces:
PortletContainerObject
- All Known Implementing Classes:
PortletContainerImpl
public interface PortletContainer- Version:
- $Revision: 7226 $
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.gatein.pc.api.invocation.response.PortletInvocationResponsedispatch(org.gatein.pc.api.invocation.PortletInvocation invocation)Invoke the portlet container.PortletContainerContextgetContext()Returns the context of the portlet container.StringgetId()Return the portlet container id, unique within the context of the parent application.org.gatein.pc.api.info.PortletInfogetInfo()Returns the runtime meta data of the container.PortletApplicationgetPortletApplication()Returns the wired application.
-
-
-
Method Detail
-
getId
String getId()
Return the portlet container id, unique within the context of the parent application.- Returns:
- the id
-
getInfo
org.gatein.pc.api.info.PortletInfo getInfo()
Returns the runtime meta data of the container.- Returns:
- the info
-
dispatch
org.gatein.pc.api.invocation.response.PortletInvocationResponse dispatch(org.gatein.pc.api.invocation.PortletInvocation invocation) throws org.gatein.pc.api.PortletInvokerException, org.gatein.pc.api.invocation.InvocationExceptionInvoke the portlet container.- Parameters:
invocation- the portlet invocation- Returns:
- the portlet invocation response
- Throws:
org.gatein.pc.api.PortletInvokerException- a portlet invoker exceptionorg.gatein.pc.api.invocation.InvocationException- an invocation exception
-
getPortletApplication
PortletApplication getPortletApplication()
Returns the wired application.- Returns:
- the application
-
getContext
PortletContainerContext getContext()
Returns the context of the portlet container.- Returns:
- the context
-
-