Class ValveInterceptor

  • All Implemented Interfaces:
    org.gatein.pc.api.PortletInvoker

    public class ValveInterceptor
    extends PortletInvokerInterceptor
    This aspect has two responsabilities :
    • continue the request only if the portlet container valve is open. When the valve is closed, it will return an unavailable response to the caller. When the valve is open then the current thread of execution enters the valve for the duration of the call.
    • if the response from the next aspect is an unavailable result, stop the container in order to destroy the portlet and implement this part of the portlet specification.
    Version:
    $Revision: 7226 $
    Author:
    Julien Viet