|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Interceptor
Base interface for all NetUI / Page Flow interceptors. An interceptor consists of an initialization step and two blocks of code that run before and after some block of code or event that is being intercepted.
| Method Summary | |
|---|---|
void |
init(InterceptorConfig config)
Method used to initialize the interceptor. |
void |
postInvoke(InterceptorContext context,
InterceptorChain chain)
Method invoked during "post" interception of some block of code / event. |
void |
preInvoke(InterceptorContext context,
InterceptorChain chain)
Method invoked during "pre" interception of some block of code / event. |
| Method Detail |
|---|
void init(InterceptorConfig config)
config - the InterceptorConfig object
void preInvoke(InterceptorContext context,
InterceptorChain chain)
throws InterceptorException
context - the interception contextchain - the chain of interceptors
InterceptorException - an exception thrown when an error occurs during interception
void postInvoke(InterceptorContext context,
InterceptorChain chain)
throws InterceptorException
context - the interceptor contextchain - the chain of interceptors
InterceptorException - an exception thrown when an error occurs during interception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||