org.apache.jetspeed.pipeline.valve.impl
Class ActionValveImpl
java.lang.Object
org.apache.jetspeed.pipeline.valve.AbstractValve
org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl
- All Implemented Interfaces:
- ActionValve, Valve
public class ActionValveImpl
- extends AbstractValve
- implements ActionValve
ActionValveImpl
Default implementation of the ActionValve interface. Expects to be
called after the ContainerValve has set up the appropriate action window
within the request context. This should come before ANY rendering takes
place.
- Version:
- $Id: ActionValveImpl.java 589933 2007-10-30 01:51:50Z woonsan $
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve |
initialize |
ActionValveImpl
public ActionValveImpl(org.apache.pluto.PortletContainer container,
PortletWindowAccessor windowAccessor,
JetspeedContentCache portletContentCache)
ActionValveImpl
public ActionValveImpl(org.apache.pluto.PortletContainer container,
PortletWindowAccessor windowAccessor,
JetspeedContentCache portletContentCache,
boolean patchResponseCommitted)
invoke
public void invoke(RequestContext request,
ValveContext context)
throws PipelineException
- Specified by:
invoke
in interface Valve
- Specified by:
invoke
in class AbstractValve
- Throws:
PipelineException
- See Also:
Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext)
clearPortletCacheForPage
protected void clearPortletCacheForPage(RequestContext request,
org.apache.pluto.om.window.PortletWindow actionWindow)
throws JetspeedException
- Throws:
JetspeedException
isNonStandardAction
protected boolean isNonStandardAction(org.apache.pluto.om.window.PortletWindow actionWindow)
- Actions can be marked as non-standard if they don't participate in
JSR-168 standard action behavior. By default, actions are supposed
to clear the cache of all other portlets on the page.
By setting this parameter, we can ignore the standard behavior
and not clear the cache on actions. This is useful for portlets
which never participate with other portlets.
notifyFragments
protected void notifyFragments(ContentFragment f,
RequestContext context,
ContentPage page)
clearTargetCache
protected void clearTargetCache(ContentFragment f,
RequestContext context)
clearTargetCache
protected void clearTargetCache(java.lang.String fragmentId,
RequestContext context)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
initWindow
protected void initWindow(org.apache.pluto.om.window.PortletWindow window,
RequestContext request)
- Makes sure that this PortletWindow's PortletEntity is set to have the
current requests fragment.
- Parameters:
window
- request
-
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.