Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.portlet.aspects.portlet
Class ValveInterceptor

    java.lang.Object
      org.jboss.portal.portlet.invocation.PortletInterceptor
          org.jboss.portal.portlet.aspects.portlet.ValveInterceptor

All Implemented Interfaces:
  Interceptor

    public class ValveInterceptor

extends PortletInterceptor

This aspect has two responsabilities :

- continue the request only if the portlet container valve is open. When the valle 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

Constructor Summary
`ValveInterceptor()`

Method Summary
`protected java.lang.Object` | `invoke(PortletInvocation invocation)`

Methods inherited from class org.jboss.portal.portlet.invocation.PortletInterceptor
`invoke`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ValveInterceptor

    public ValveInterceptor()

Method Detail

### invoke

    protected java.lang.Object invoke(PortletInvocation invocation)
                               throws java.lang.Exception,
                                      InvocationException

  Specified by:
    `invoke` in class `PortletInterceptor`
  Throws:
    `java.lang.Exception`
    `InvocationException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD