public class ContainerPortletInvoker extends PortletInvokerInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
PORTLET_CONTAINER
The key under which the portlet container is stored in the request scope of the invocation.
|
LOCAL_PORTLET_INVOKER_ID| Constructor and Description |
|---|
ContainerPortletInvoker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPortletContainer(PortletContainer portletContainer) |
PortletContext |
createClone(PortletStateType stateType,
PortletContext portletContext) |
List<DestroyCloneFailure> |
destroyClones(List<PortletContext> portletContexts) |
Portlet |
getPortlet(PortletContext portletContext) |
Set<Portlet> |
getPortlets() |
PropertyMap |
getProperties(PortletContext portletContext) |
PropertyMap |
getProperties(PortletContext portletContext,
Set<String> keys) |
PortletStatus |
getStatus(PortletContext portletContext) |
PortletInvocationResponse |
invoke(PortletInvocation invocation) |
void |
removePortletContainer(PortletContainer portletContainer) |
PortletContext |
setProperties(PortletContext portletContext,
PropertyChange[] changes) |
append, exportPortlet, getNext, importPortlet, isActive, setNextpublic static final String PORTLET_CONTAINER
public void addPortletContainer(PortletContainer portletContainer)
public void removePortletContainer(PortletContainer portletContainer)
public Set<Portlet> getPortlets()
getPortlets in interface PortletInvokergetPortlets in class PortletInvokerInterceptorpublic PortletStatus getStatus(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException
getStatus in interface PortletInvokergetStatus in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionpublic Portlet getPortlet(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException
getPortlet in interface PortletInvokergetPortlet in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionpublic PortletInvocationResponse invoke(PortletInvocation invocation) throws PortletInvokerException, InvocationException
invoke in interface PortletInvokerinvoke in class PortletInvokerInterceptorPortletInvokerExceptionInvocationExceptionpublic PropertyMap getProperties(PortletContext portletContext, Set<String> keys) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
getProperties in interface PortletInvokergetProperties in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PropertyMap getProperties(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
getProperties in interface PortletInvokergetProperties in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PortletContext createClone(PortletStateType stateType, PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
createClone in interface PortletInvokercreateClone in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic List<DestroyCloneFailure> destroyClones(List<PortletContext> portletContexts) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
destroyClones in interface PortletInvokerdestroyClones in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PortletContext setProperties(PortletContext portletContext, PropertyChange[] changes) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
setProperties in interface PortletInvokersetProperties in class PortletInvokerInterceptorIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionCopyright © 2003-2021 GateIn. All Rights Reserved.