A B I M O S W Y

A

addInterceptor(Class, Signature) - Method in class org.skife.intercept.InterceptionBroker
Used to add an interceptor where a new Interceptor will be instantiated for each invocation.
addInterceptor(Interceptor, Signature) - Method in class org.skife.intercept.InterceptionBroker
The Interceptor passed here will be used for every method invocation.

B

BlockingInterceptor - class org.skife.intercept.interceptors.BlockingInterceptor.
Throws an UnsupportedOperationException.
BlockingInterceptor(String) - Constructor for class org.skife.intercept.interceptors.BlockingInterceptor
Create a new BlockingInterceptor which will throw an exception with the message set to the argument

I

InefficientLoggingInterceptor - class org.skife.intercept.interceptors.InefficientLoggingInterceptor.
Logging interceptor that simply prints messages to a PrintStream such as System.out
InefficientLoggingInterceptor() - Constructor for class org.skife.intercept.interceptors.InefficientLoggingInterceptor
Send logging output to System.out
InefficientLoggingInterceptor(PrintStream) - Constructor for class org.skife.intercept.interceptors.InefficientLoggingInterceptor
 
intercept(Object, Method, Object[], InterceptorStack) - Method in interface org.skife.intercept.Interceptor
To pass execution down the stack call one of the stack.yield() methods The return value from this will be whatever the downstream return value was.
intercept(Object, Method, Object[], InterceptorStack) - Method in class org.skife.intercept.interceptors.BlockingInterceptor
Throws an UnsupportedOperationException
intercept(Object, Method, Object[], InterceptorStack) - Method in class org.skife.intercept.interceptors.InefficientLoggingInterceptor
Prints to out before and after invoking the stack
InterceptedObject - interface org.skife.intercept.InterceptedObject.
 
InterceptionBroker - class org.skife.intercept.InterceptionBroker.
provide interception matches against arbitrary non-final objects
InterceptionBroker() - Constructor for class org.skife.intercept.InterceptionBroker
 
Interceptor - interface org.skife.intercept.Interceptor.
Define an interceptor on method calls.
InterceptorStack - class org.skife.intercept.InterceptorStack.
Provides one way traversal across a list of interceptors.

M

matches(Method) - Method in interface org.skife.intercept.Signature
Return true if m should be intercepted, false otherwise
matches(Method) - Method in class org.skife.intercept.signatures.StrictSignature
 

O

org.skife.intercept - package org.skife.intercept
The InterceptionBroker provides the entry point to most of the functionality for this library.
org.skife.intercept.interceptors - package org.skife.intercept.interceptors
Commonly used and sample Interceptor implementations
org.skife.intercept.signatures - package org.skife.intercept.signatures
Commonly used and sample Signature implementations.

S

Signature - interface org.skife.intercept.Signature.
This is used to match what should be intercepted.
StrictSignature - class org.skife.intercept.signatures.StrictSignature.
Matches everything except the int flags.
StrictSignature(Class, String, Class[], Class) - Constructor for class org.skife.intercept.signatures.StrictSignature
Basically all args here will be compared via equals() to the corresponding values on the Method passed to matches()

W

wrap(Object) - Method in class org.skife.intercept.InterceptionBroker
Wrap an arbitrary object in whatever interceptors match it.

Y

yield() - Method in class org.skife.intercept.InterceptorStack
Yield control to the next Interceptor in the stack, or to the base object.
yield(Object, Method, Object[]) - Method in class org.skife.intercept.InterceptorStack
Yield control to the next Interceptor in the stack, or to the base object.

A B I M O S W Y