A C G I O P S T V
All Classes All Packages
All Classes All Packages
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.See
Interceptions
. - 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, ornull
. - 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, ornull
. - 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
InterceptionFunction
s andRunnable
s 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
- of(MethodHandle, Supplier<?>) - Static method in interface org.microbean.interceptor.InterceptorMethod
-
Returns a new
InterceptorMethod
that adapts the suppliedMethodHandle
and the suppliedSupplier
of its receiver. - of(Method) - Static method in interface org.microbean.interceptor.InterceptorMethod
- of(Method, Supplier<?>) - Static method in interface org.microbean.interceptor.InterceptorMethod
-
Returns a new
InterceptorMethod
that adapts the suppliedMethod
and the suppliedSupplier
of its receiver. - ofConstruction(Collection<? extends InterceptorMethod>, Constructor<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s in encounter order before invoking the suppliedConstructor
'snewInstance(Object...)
method. - ofConstruction(Collection<? extends InterceptorMethod>, Constructor<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s 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
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s in encounter order before invoking the suppliedBiFunction
'sapply(Object, Object[])
method withnull
(the return value ofInvocationContext.getTarget()
, which will always benull
in 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
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s in encounter order before invoking the suppliedBiFunction
'sapply(Object Object[])
method withnull
(the return value ofInvocationContext.getTarget()
, which will always benull
in this scenario) and the return value of an invocation ofInvocationContext.getParameters()
. - ofInvocation(Collection<? extends InterceptorMethod>, Method, Supplier<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s 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>, Method, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns an
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s 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
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s 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
InterceptionFunction
whoseapply(Object...)
method will invoke all suppliedInterceptorMethod
s 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
Runnable
whoserun()
method will invoke all suppliedInterceptorMethod
s in encounter order. - ofLifecycleEvent(Collection<? extends InterceptorMethod>, Supplier<?>, Supplier<? extends Set<Annotation>>) - Static method in class org.microbean.interceptor.Interceptions
-
Returns a
Runnable
whoserun()
method will invoke all suppliedInterceptorMethod
s 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 benull
.
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 suppliedMethodHandle
. - terminalBiFunctionOf(Constructor<?>) - Static method in class org.microbean.interceptor.Interceptions
-
Creates and returns a
BiFunction
encapsulating the suppliedConstructor
. - terminalBiFunctionOf(Method) - Static method in class org.microbean.interceptor.Interceptions
-
Creates and returns a
BiFunction
encapsulating the suppliedMethod
. - terminalFunctionOf(MethodHandle) - Static method in class org.microbean.interceptor.Chain
-
Deprecated.Creates and returns a
Function
encapsulating the suppliedMethodHandle
. - terminalFunctionOf(MethodHandle, Supplier<?>) - Static method in class org.microbean.interceptor.Chain
-
Deprecated.Creates and returns a
Function
encapsulating the suppliedMethodHandle
. - terminalFunctionOf(Constructor<?>) - Static method in class org.microbean.interceptor.Chain
-
Deprecated.Creates and returns a
Function
encapsulating the suppliedConstructor
. - terminalFunctionOf(Method) - Static method in class org.microbean.interceptor.Chain
-
Deprecated.
- terminalFunctionOf(Method, Supplier<?>) - Static method in class org.microbean.interceptor.Chain
-
Deprecated.
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 correspondingClass
drawn from the suppliedparameterTypes
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 correspondingClass
drawn from the suppliedparameterTypes
array.
All Classes All Packages