Index
All Classes and Interfaces|All Packages|Serialized Form
A
- apply(Object...) - Method in interface org.microbean.interceptor.InterceptionFunction
-
Applies the interception represented by this
InterceptionFunction, with the supplied arguments, and returns the result.
I
- intercept(InvocationContext) - Method in interface org.microbean.interceptor.InterceptorMethod
-
Performs interception and returns any result.
- InterceptionFunction - Interface in org.microbean.interceptor
-
A functional interface whose implementations represent an interception of some kind.
- Interceptions - Class in org.microbean.interceptor
-
A utility class that makes
InterceptionFunctions andRunnables that intercept lifecycle events, constructions, and invocations of methods in accordance with the Jakarta Interceptors specification. - InterceptorException - Exception Class in org.microbean.interceptor
-
A
RuntimeExceptionindicating that an error has occurred while setting up an interception chain. - InterceptorException() - Constructor for exception class org.microbean.interceptor.InterceptorException
-
Creates a new
InterceptorException. - InterceptorException(String) - Constructor for exception class org.microbean.interceptor.InterceptorException
-
Creates a new
InterceptorException. - InterceptorException(String, Throwable) - Constructor for exception class org.microbean.interceptor.InterceptorException
-
Creates a new
InterceptorException. - InterceptorException(Throwable) - Constructor for exception class org.microbean.interceptor.InterceptorException
-
Creates a new
InterceptorException. - InterceptorMethod - Interface in org.microbean.interceptor
-
A representation of a Jakarta Interceptors interceptor method.
O
- of(MethodHandle) - Static method in interface org.microbean.interceptor.InterceptorMethod
- of(MethodHandle, Supplier<?>) - Static method in interface org.microbean.interceptor.InterceptorMethod
-
Returns a new
InterceptorMethodthat adapts the suppliedMethodHandleand the suppliedSupplierof its receiver. - of(MethodHandles.Lookup, Method) - Static method in interface org.microbean.interceptor.InterceptorMethod
- of(MethodHandles.Lookup, Method, Supplier<?>) - Static method in interface org.microbean.interceptor.InterceptorMethod
-
Returns a new
InterceptorMethodthat adapts the suppliedMethodand the suppliedSupplierof its receiver. - ofConstruction(Collection<? extends InterceptorMethod>, MethodHandles.Lookup, Constructor<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedConstructor'snewInstance(Object...)method. - ofConstruction(Collection<? extends InterceptorMethod>, MethodHandles.Lookup, Constructor<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedConstructor'snewInstance(Object...)method. - ofConstruction(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedBiFunction'sapply(Object, Object[])method withnull(the return value ofInvocationContext.getTarget(), which will always benullin this scenario) and the return value of an invocation ofInvocationContext.getParameters(). - ofConstruction(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedBiFunction'sapply(Object Object[])method withnull(the return value ofInvocationContext.getTarget(), which will always benullin this scenario) and the return value of an invocation ofInvocationContext.getParameters(). - ofInvocation(Collection<? extends InterceptorMethod>, MethodHandles.Lookup, Method, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedMethod'sinvoke(Object, Object...)method with the return value ofInvocationContext.getTarget(), and with the return value ofInvocationContext.getParameters(). - ofInvocation(Collection<? extends InterceptorMethod>, MethodHandles.Lookup, Method, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedMethod'sinvoke(Object, Object...)method with the return value ofInvocationContext.getTarget(), and with the return value ofInvocationContext.getParameters(). - ofInvocation(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedBiFunction'sapply(Object Object[])method with the return value ofInvocationContext.getTarget(), and with the return value ofInvocationContext.getParameters(). - ofInvocation(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunctionwhoseapply(Object...)method will invoke all suppliedInterceptorMethods in encounter order before invoking the suppliedBiFunction'sapply(Object Object[])method with the return value ofInvocationContext.getTarget(), and with the return value ofInvocationContext.getParameters(). - ofLifecycleEvent(Collection<? extends InterceptorMethod>, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns a
Runnablewhoserun()method will invoke all suppliedInterceptorMethods in encounter order. - ofLifecycleEvent(Collection<? extends InterceptorMethod>, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns a
Runnablewhoserun()method will invoke all suppliedInterceptorMethods in encounter order. - org.microbean.interceptor - module org.microbean.interceptor
-
Provides packages related to implementing interceptors.
- org.microbean.interceptor - package org.microbean.interceptor
-
Provides classes and interfaces related to implementing interceptors.
T
- terminalBiFunctionOf(MethodHandle) - Static method in class org.microbean.interceptor.Interceptions
-
Creates and returns a
BiFunctionencapsulating the suppliedMethodHandle. - terminalBiFunctionOf(MethodHandles.Lookup, Constructor<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Creates and returns a
BiFunctionencapsulating the suppliedConstructor. - terminalBiFunctionOf(MethodHandles.Lookup, Method) - Static method in class org.microbean.interceptor.Interceptions
-
Creates and returns a
BiFunctionencapsulating the suppliedMethod.
V
- validate(Class<?>[], Object[]) - Static method in class org.microbean.interceptor.Interceptions
-
A convenience method that ensures that every element of the supplied
argumentsarray can be assigned to a reference bearing the correspondingClassdrawn from the suppliedparameterTypesarray.
All Classes and Interfaces|All Packages|Serialized Form