public class PortletInvokerInterceptor extends Object implements PortletInvoker
PortletInvoker interface interceptors. The subclasses extends it and
override the intercepted methods. The next interceptor in the chain is wired in the field next of the
interceptor. When the interceptor wants to give control to the next interceptor, it must invoke the same method on
the super class. If no next interceptor is configured the invocation of the parent method will throw an IllegalStateException.LOCAL_PORTLET_INVOKER_ID| Constructor and Description |
|---|
PortletInvokerInterceptor() |
PortletInvokerInterceptor(PortletInvoker next) |
| Modifier and Type | Method and Description |
|---|---|
PortletInvokerInterceptor |
append(PortletInvoker invoker) |
PortletContext |
createClone(PortletStateType stateType,
PortletContext portletContext) |
List<DestroyCloneFailure> |
destroyClones(List<PortletContext> portletContexts) |
PortletContext |
exportPortlet(PortletStateType stateType,
PortletContext originalPortletContext) |
PortletInvoker |
getNext() |
Portlet |
getPortlet(PortletContext portletContext) |
Set<Portlet> |
getPortlets() |
PropertyMap |
getProperties(PortletContext portletContext) |
PropertyMap |
getProperties(PortletContext portletContext,
Set<String> keys) |
PortletStatus |
getStatus(PortletContext portletContext) |
PortletContext |
importPortlet(PortletStateType stateType,
PortletContext originalPortletContext) |
PortletInvocationResponse |
invoke(PortletInvocation invocation) |
boolean |
isActive() |
void |
setNext(PortletInvoker next) |
PortletContext |
setProperties(PortletContext portletContext,
PropertyChange[] changes) |
public PortletInvokerInterceptor()
public PortletInvokerInterceptor(PortletInvoker next)
public PortletInvoker getNext()
public void setNext(PortletInvoker next)
public PortletInvokerInterceptor append(PortletInvoker invoker)
public Set<Portlet> getPortlets() throws PortletInvokerException
getPortlets in interface PortletInvokerPortletInvokerExceptionpublic Portlet getPortlet(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException
getPortlet in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionpublic PortletStatus getStatus(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException
getStatus in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionpublic PortletInvocationResponse invoke(PortletInvocation invocation) throws IllegalArgumentException, PortletInvokerException
invoke in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionpublic PortletContext createClone(PortletStateType stateType, PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
createClone in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic List<DestroyCloneFailure> destroyClones(List<PortletContext> portletContexts) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
destroyClones in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PropertyMap getProperties(PortletContext portletContext, Set<String> keys) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
getProperties in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PropertyMap getProperties(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
getProperties in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PortletContext setProperties(PortletContext portletContext, PropertyChange[] changes) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException
setProperties in interface PortletInvokerIllegalArgumentExceptionPortletInvokerExceptionUnsupportedOperationExceptionpublic PortletContext exportPortlet(PortletStateType stateType, PortletContext originalPortletContext) throws PortletInvokerException, IllegalArgumentException
exportPortlet in interface PortletInvokerPortletInvokerExceptionIllegalArgumentExceptionpublic PortletContext importPortlet(PortletStateType stateType, PortletContext originalPortletContext) throws PortletInvokerException, IllegalArgumentException
importPortlet in interface PortletInvokerPortletInvokerExceptionIllegalArgumentExceptionpublic boolean isActive()
isActive in interface PortletInvokerCopyright © 2003-2017 GateIn. All Rights Reserved.