A C G I O P S T V 
All Classes All Packages

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.

C

call() - Method in class org.microbean.interceptor.Chain
Deprecated.
Invokes the Chain.proceed() method and returns its result.
Chain - Class in org.microbean.interceptor
Deprecated, for removal: This API element is subject to removal in a future version.
Chain() - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain primarily for testing purposes.
Chain(List<? extends InterceptorMethod>, Constructor<?>) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for around-construct interceptions.
Chain(List<? extends InterceptorMethod>, Constructor<?>, Supplier<? extends Object[]>) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for around-construct interceptions.
Chain(List<? extends InterceptorMethod>, Function<? super Object[], ?>, Supplier<? extends Object[]>) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for around-construct interceptions.
Chain(List<? extends InterceptorMethod>, Supplier<?>) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for lifecycle method interceptions.
Chain(List<? extends InterceptorMethod>, Supplier<?>, Method) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for around-invoke interceptions.
Chain(List<? extends InterceptorMethod>, Supplier<?>, Method, Supplier<? extends Object[]>) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for around-invoke interceptions.
Chain(List<? extends InterceptorMethod>, Supplier<?>, Function<? super Object[], ?>, boolean, Supplier<? extends Object[]>) - Constructor for class org.microbean.interceptor.Chain
Deprecated.
Creates a new Chain for around-construct or around-invoke interceptions.

G

getConstructor() - Method in class org.microbean.interceptor.Chain
Deprecated.
Returns the Constructor being intercepted, if available, or null.
getContextData() - Method in class org.microbean.interceptor.Chain
Deprecated.
Returns the context data Map shared by the current invocation.
getMethod() - Method in class org.microbean.interceptor.Chain
Deprecated.
Returns the Method being intercepted, if available, or null.
getParameters() - Method in class org.microbean.interceptor.Chain
Deprecated.
Returns any arguments in effect for the current interception.
getTarget() - Method in class org.microbean.interceptor.Chain
Deprecated.
Returns the target instance, if available, or null.
getTimer() - Method in class org.microbean.interceptor.Chain
Deprecated.
Returns the timer, if available, or null.

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 and Runnables that intercept lifecycle events, constructions, and invocations of methods in accordance with the Jakarta Interceptors specification.
InterceptorException - Exception in org.microbean.interceptor
A RuntimeException indicating that an error has occurred while setting up an interception chain.
InterceptorException() - Constructor for exception org.microbean.interceptor.InterceptorException
Creates a new InterceptorException.
InterceptorException(String) - Constructor for exception org.microbean.interceptor.InterceptorException
Creates a new InterceptorException.
InterceptorException(String, Throwable) - Constructor for exception org.microbean.interceptor.InterceptorException
Creates a new InterceptorException.
InterceptorException(Throwable) - Constructor for exception 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
Returns a new InterceptorMethod that adapts the supplied receiverless or bound MethodHandle.
of(MethodHandle, Supplier<?>) - Static method in interface org.microbean.interceptor.InterceptorMethod
Returns a new InterceptorMethod that adapts the supplied MethodHandle and the supplied Supplier of its receiver.
of(Method) - Static method in interface org.microbean.interceptor.InterceptorMethod
Returns a new InterceptorMethod that adapts the supplied static Method.
of(Method, Supplier<?>) - Static method in interface org.microbean.interceptor.InterceptorMethod
Returns a new InterceptorMethod that adapts the supplied Method and the supplied Supplier of its receiver.
ofConstruction(Collection<? extends InterceptorMethod>, Constructor<?>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied Constructor's newInstance(Object...) method.
ofConstruction(Collection<? extends InterceptorMethod>, Constructor<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied Constructor's newInstance(Object...) method.
ofConstruction(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied BiFunction's apply(Object, Object[]) method with null (the return value of InvocationContext.getTarget(), which will always be null in this scenario) and the return value of an invocation of InvocationContext.getParameters().
ofConstruction(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied BiFunction's apply(Object Object[]) method with null (the return value of InvocationContext.getTarget(), which will always be null in this scenario) and the return value of an invocation of InvocationContext.getParameters().
ofInvocation(Collection<? extends InterceptorMethod>, Method, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied Method's invoke(Object, Object...) method with the return value of InvocationContext.getTarget(), and with the return value of InvocationContext.getParameters().
ofInvocation(Collection<? extends InterceptorMethod>, Method, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied Method's invoke(Object, Object...) method with the return value of InvocationContext.getTarget(), and with the return value of InvocationContext.getParameters().
ofInvocation(Collection<? extends InterceptorMethod>, BiFunction<? super Object, ? super Object[], ?>, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
Returns an InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied BiFunction's apply(Object Object[]) method with the return value of InvocationContext.getTarget(), and with the return value of InvocationContext.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 InterceptionFunction whose apply(Object...) method will invoke all supplied InterceptorMethods in encounter order before invoking the supplied BiFunction's apply(Object Object[]) method with the return value of InvocationContext.getTarget(), and with the return value of InvocationContext.getParameters().
ofLifecycleEvent(Collection<? extends InterceptorMethod>, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
Returns a Runnable whose run() method will invoke all supplied InterceptorMethods in encounter order.
ofLifecycleEvent(Collection<? extends InterceptorMethod>, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
Returns a Runnable whose run() method will invoke all supplied InterceptorMethods 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.

P

proceed() - Method in class org.microbean.interceptor.Chain
Deprecated.
Applies the next interception in this Chain, or calls the terminal function, and returns the result of the interception, which may be null.

S

setParameters(Object[]) - Method in class org.microbean.interceptor.Chain
Deprecated.
Sets arguments to be in effect for the current interception.
setTarget(Object) - Method in class org.microbean.interceptor.Chain
Deprecated.
This really shouldn't be needed as part of the public API.

T

terminalBiFunctionOf(MethodHandle) - Static method in class org.microbean.interceptor.Interceptions
Creates and returns a BiFunction encapsulating the supplied MethodHandle.
terminalBiFunctionOf(Constructor<?>) - Static method in class org.microbean.interceptor.Interceptions
Creates and returns a BiFunction encapsulating the supplied Constructor.
terminalBiFunctionOf(Method) - Static method in class org.microbean.interceptor.Interceptions
Creates and returns a BiFunction encapsulating the supplied Method.
terminalFunctionOf(MethodHandle) - Static method in class org.microbean.interceptor.Chain
Deprecated.
Creates and returns a Function encapsulating the supplied MethodHandle.
terminalFunctionOf(MethodHandle, Supplier<?>) - Static method in class org.microbean.interceptor.Chain
Deprecated.
Creates and returns a Function encapsulating the supplied MethodHandle.
terminalFunctionOf(Constructor<?>) - Static method in class org.microbean.interceptor.Chain
Deprecated.
Creates and returns a Function encapsulating the supplied Constructor.
terminalFunctionOf(Method) - Static method in class org.microbean.interceptor.Chain
Deprecated.
Creates and returns a Function encapsulating the supplied static Method.
terminalFunctionOf(Method, Supplier<?>) - Static method in class org.microbean.interceptor.Chain
Deprecated.
Creates and returns a Function encapsulating the supplied Method.

V

validate(Class<?>[], Object[]) - Static method in class org.microbean.interceptor.Chain
Deprecated.
A convenience method that ensures that every element of the supplied arguments array can be assigned to a reference bearing the corresponding Class drawn from the supplied parameterTypes array.
validate(Class<?>[], Object[]) - Static method in class org.microbean.interceptor.Interceptions
A convenience method that ensures that every element of the supplied arguments array can be assigned to a reference bearing the corresponding Class drawn from the supplied parameterTypes array.
A C G I O P S T V 
All Classes All Packages