public final class Interception
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Interceptor |
intercept(java.lang.Class... interfaces)
Creates an interceptor for the given interfaces
|
static Interceptor |
intercept(java.lang.Class interfaceClass)
Creates an interceptor for the given interface
|
static Interceptor |
intercept(java.lang.Object target)
Creates an interceptor for the given target.
|
public static Interceptor intercept(java.lang.Class interfaceClass)
interfaceClass
- the interface to interceptpublic static Interceptor intercept(java.lang.Class... interfaces)
interfaces
- the interfaces to interceptpublic static Interceptor intercept(java.lang.Object target)
target
- the target to intercept