Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.after(BiFunctionWithException<Aspects.Invocation,java.lang.Object,java.lang.Object> after) |
Provide a function that is called after the method is called.
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.around(BiFunctionWithException<Aspects.Invocation,java.util.concurrent.Callable<java.lang.Object>,java.lang.Object> around) |
Provide a function that is called with the method calling function.
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.before(ConsumerWithException<Aspects.Invocation> before) |
Provide a function that is called before the method is called.
|
static <T> Aspects.InterceptBuilder<T> |
Aspects.intercept(java.lang.Class<T> type,
T delegate) |
Create an intercepting proxy using a builder
|
<A,B,R> Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.intercept(BiFunctionWithException<A,B,R> intercept,
java.lang.String name,
java.lang.Class<A> aType,
java.lang.Class<B> bType) |
Intercept a two argument method call
|
<A,R> Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.intercept(FunctionWithException<A,R> intercept,
java.lang.String name,
java.lang.Class<A> type) |
Intercept a one argument method call
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.intercept(FunctionWithException<Aspects.Invocation,java.lang.Object> intercept,
java.lang.String name,
java.lang.Class<?>... types) |
Intercept a method call with a lambda.
|
<R> Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.intercept(RunnableWithException intercept,
java.lang.String name) |
Intercept a no method call
|
<R> Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.intercept(SupplierWithException<R> intercept,
java.lang.String name) |
Intercept a no method call
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.onException(BiFunctionWithException<Aspects.Invocation,java.lang.Throwable,java.lang.Object> exception) |
Called when an exception occurs
|