|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.skife.intercept.InterceptorStack
Provides one way traversal across a list of interceptors. Excution of the wrapped invocation should be started via InterceptorStack.yield() to yield the thread of execution to the first interceptor.
Interceptor| Method Summary | |
java.lang.Object |
yield()
Yield control to the next Interceptor in the stack, or to the base object. |
java.lang.Object |
yield(java.lang.Object base,
java.lang.reflect.Method method,
java.lang.Object[] args)
Yield control to the next Interceptor in the stack, or to the base object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.Object yield()
throws java.lang.Throwable
java.lang.Exception - Unhandled exception passed up the stack
java.lang.ThrowableInterceptor.intercept(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], org.skife.intercept.InterceptorStack)
public java.lang.Object yield(java.lang.Object base,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
This form allows overriding the complete calling environment of the downstream stack. It has no effect on the upstream interceptors.
java.lang.Exception - Unhandled exception passed up the stack
java.lang.ThrowableInterceptor.intercept(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], org.skife.intercept.InterceptorStack)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||