站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

InterceptorStack - JBOSS Portal 2.6 API 英文版文档


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

public int getLength()
Returns the stack length.

Returns:
the length

getInterceptor

public 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