org.jboss.portal.common.invocation
Interface InterceptorStack

All Known Implementing Classes:
JBossInterceptorStack

public interface InterceptorStack

A wrapper for a list of interceptors.

Version:
$Revision: 5451 $
Author:
Julien Viet

Method Summary
 Interceptor getInterceptor(int index)
          Return the interceptor at the specified index.
 int getLength()
          Returns the stack length.
 

Method Detail

getLength

int getLength()
Returns the stack length.

Returns:
the length

getInterceptor

Interceptor getInterceptor(int index)
                           throws java.lang.ArrayIndexOutOfBoundsException
Return the interceptor at the specified index.

Parameters:
index - the interceptor index in the stack
Returns:
the specified interceptor
Throws:
java.lang.ArrayIndexOutOfBoundsException - if the index is not valid