Uses of Interface
aQute.lib.aspects.Aspects.InterceptBuilder
Packages that use Aspects.InterceptBuilder
-
Uses of Aspects.InterceptBuilder in aQute.lib.aspects
Methods in aQute.lib.aspects that return Aspects.InterceptBuilderModifier and TypeMethodDescriptionAspects.InterceptBuilder.after
(BiFunctionWithException<Aspects.Invocation, Object, Object> after) Provide a function that is called after the method is called.Aspects.InterceptBuilder.around
(BiFunctionWithException<Aspects.Invocation, Callable<Object>, Object> around) Provide a function that is called with the method calling function.Aspects.InterceptBuilder.before
(ConsumerWithException<Aspects.Invocation> before) Provide a function that is called before the method is called.static <T> Aspects.InterceptBuilder<T>
Create an intercepting proxy using a builder<A,
B, R> Aspects.InterceptBuilder<T> Aspects.InterceptBuilder.intercept
(BiFunctionWithException<A, B, R> intercept, String name, Class<A> aType, Class<B> bType) Intercept a two argument method call<A,
R> Aspects.InterceptBuilder<T> Aspects.InterceptBuilder.intercept
(FunctionWithException<A, R> intercept, String name, Class<A> type) Intercept a one argument method callAspects.InterceptBuilder.intercept
(FunctionWithException<Aspects.Invocation, Object> intercept, String name, Class<?>... types) Intercept a method call with a lambda.Aspects.InterceptBuilder.intercept
(RunnableWithException intercept, String name) Intercept a no method callAspects.InterceptBuilder.intercept
(SupplierWithException<R> intercept, String name) Intercept a no method callAspects.InterceptBuilder.onException
(BiFunctionWithException<Aspects.Invocation, Throwable, Object> exception) Called when an exception occurs