Package org.gatein.pc.portlet.container
Interface PortletContainer
- All Known Subinterfaces:
PortletContainerObject
- All Known Implementing Classes:
PortletContainerImpl
public interface PortletContainer
-
Method Summary
Modifier and TypeMethodDescriptionorg.gatein.pc.api.invocation.response.PortletInvocationResponsedispatch(org.gatein.pc.api.invocation.PortletInvocation invocation) Invoke the portlet container.Returns the context of the portlet container.getId()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.Returns the wired application.
-
Method Details
-
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.InvocationException Invoke 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
-