|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectInterceptors
public class Interceptors
Convenience utility used to execute an interceptor chain given an InterceptorContext
. This
class can be invoked to execute "pre" and "post" interceptor chains.
Constructor Summary | |
---|---|
Interceptors()
|
Method Summary | |
---|---|
static void |
doPostIntercept(InterceptorContext context,
List interceptors)
Execute a "post" interceptor chain. |
static void |
doPreIntercept(InterceptorContext context,
List interceptors)
Execute a "pre" interceptor chain. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Interceptors()
Method Detail |
---|
public static void doPreIntercept(InterceptorContext context, List interceptors) throws InterceptorException
Interceptor.preInvoke(InterceptorContext, InterceptorChain)
method to be invoked on each interceptor in a chain.
context
- the context for a set of interceptorsinterceptors
- the list of interceptors
InterceptorException
public static void doPostIntercept(InterceptorContext context, List interceptors) throws InterceptorException
Interceptor.postInvoke(InterceptorContext, InterceptorChain)
method to be invoked on each interceptor in a chain.
context
- the context for a set of interceptorsinterceptors
- the list of interceptors
InterceptorException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |