Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AOPFallback - Annotation Type in io.avaje.inject.aop
-
Marks a method as a recovery method for an AOP operation.
- args - Variable in class io.avaje.inject.aop.Invocation.Base
- arguments() - Method in interface io.avaje.inject.aop.Invocation
-
Return the arguments used for this invocation.
- arguments() - Method in class io.avaje.inject.aop.Invocation.Base
- Aspect - Annotation Type in io.avaje.inject.aop
-
Meta annotation used to define an Aspect.
- Aspect.Import - Annotation Type in io.avaje.inject.aop
-
Marks an External Annotation as being used for aspects
- Aspect.Import.Imports - Annotation Type in io.avaje.inject.aop
- AspectProvider<T> - Interface in io.avaje.inject.aop
-
Provides the
MethodInterceptorfor the given aspect.
B
- Base() - Constructor for class io.avaje.inject.aop.Invocation.Base
C
- Call(Invocation.CheckedSupplier<T>) - Constructor for class io.avaje.inject.aop.Invocation.Call
-
Create with a given supplier.
F
- fallback(Consumer<Throwable>) - Method in class io.avaje.inject.aop.Invocation.Run
-
Register a fallback method which can be used to recover from an exception while intercepting an invocation
- fallback(Function<Throwable, T>) - Method in class io.avaje.inject.aop.Invocation.Call
-
register a fallback method which can be used to recover from an exception while intercepting an invocation
- finalResult() - Method in class io.avaje.inject.aop.Invocation.Base
-
Return the final invocation result.
- finalResult() - Method in class io.avaje.inject.aop.Invocation.Call
H
- hasRecoveryMethod() - Method in class io.avaje.inject.aop.Invocation.Call
- hasRecoveryMethod() - Method in interface io.avaje.inject.aop.Invocation
-
Return whether this invocation has a registered recovery method
- hasRecoveryMethod() - Method in class io.avaje.inject.aop.Invocation.Run
I
- instance - Variable in class io.avaje.inject.aop.Invocation.Base
- instance() - Method in class io.avaje.inject.aop.Invocation.Base
- instance() - Method in interface io.avaje.inject.aop.Invocation
-
Return the 'this' instance of the invocation.
- interceptor(Method, T) - Method in interface io.avaje.inject.aop.AspectProvider
-
Return the method interceptor to use for the given method and aspect annotation.
- Invocation - Interface in io.avaje.inject.aop
-
Method invocation used in
MethodInterceptor.invoke(Invocation)for Aspects. - Invocation.Base<T> - Class in io.avaje.inject.aop
-
Invocation base type for both callable and runnable methods.
- Invocation.Call<T> - Class in io.avaje.inject.aop
-
Callable based Invocation with checked exceptions.
- Invocation.CheckedRunnable - Interface in io.avaje.inject.aop
-
Runnable with checked exceptions.
- Invocation.CheckedSupplier<T> - Interface in io.avaje.inject.aop
-
Callable with checked exceptions.
- Invocation.Run - Class in io.avaje.inject.aop
-
Runnable based Invocation.
- InvocationException - Exception Class in io.avaje.inject.aop
-
Represents an exception occurring during method interception.
- InvocationException(String) - Constructor for exception class io.avaje.inject.aop.InvocationException
-
Create with a given cause.
- InvocationException(String, Throwable) - Constructor for exception class io.avaje.inject.aop.InvocationException
-
Create with a given message and cause.
- InvocationException(Throwable) - Constructor for exception class io.avaje.inject.aop.InvocationException
-
Create with a given cause.
- invoke() - Method in class io.avaje.inject.aop.Invocation.Call
- invoke() - Method in interface io.avaje.inject.aop.Invocation.CheckedRunnable
-
Invoke the method.
- invoke() - Method in interface io.avaje.inject.aop.Invocation.CheckedSupplier
-
Invoke the method returning the result.
- invoke() - Method in interface io.avaje.inject.aop.Invocation
-
Invoke the underlying method returning the result.
- invoke() - Method in class io.avaje.inject.aop.Invocation.Run
- invoke(Invocation) - Method in interface io.avaje.inject.aop.MethodInterceptor
-
Intercepts the method invocation.
- invokeRecoveryMethod(Throwable) - Method in class io.avaje.inject.aop.Invocation.Call
- invokeRecoveryMethod(Throwable) - Method in interface io.avaje.inject.aop.Invocation
-
Invoke the recovery method associated for this invocation and return the result.
- invokeRecoveryMethod(Throwable) - Method in class io.avaje.inject.aop.Invocation.Run
- invokeUnchecked() - Method in interface io.avaje.inject.aop.Invocation
-
Invoke the underlying method returning the result.
- io.avaje.inject.aop - module io.avaje.inject.aop
- io.avaje.inject.aop - package io.avaje.inject.aop
-
Support for Aspect Oriented Programming.
M
- method - Variable in class io.avaje.inject.aop.Invocation.Base
- method() - Method in class io.avaje.inject.aop.Invocation.Base
- method() - Method in interface io.avaje.inject.aop.Invocation
-
Return the method being called for this invocation.
- MethodInterceptor - Interface in io.avaje.inject.aop
-
Provides method interception logic that can be executed before, during, and after a method invocation.
N
- noRecovery(Object) - Method in class io.avaje.inject.aop.Invocation.Base
O
- ordering() - Element in annotation type io.avaje.inject.aop.Aspect.Import
-
Specify the priority of the imported aspect.
- ordering() - Element in annotation type io.avaje.inject.aop.Aspect
-
Specify the priority ordering when multiple aspects are on a method.
P
- place() - Element in annotation type io.avaje.inject.aop.AOPFallback
-
Distinguish what method to fallback when multiple methods share the same name.
R
- result - Variable in class io.avaje.inject.aop.Invocation.Base
- result(Object) - Method in class io.avaje.inject.aop.Invocation.Base
- result(Object) - Method in interface io.avaje.inject.aop.Invocation
-
Set the result that will be returned to the caller.
- Run(Invocation.CheckedRunnable) - Constructor for class io.avaje.inject.aop.Invocation.Run
-
Create with a given closure to run.
V
- value() - Element in annotation type io.avaje.inject.aop.AOPFallback
-
the name of the target method to recover from.
- value() - Element in annotation type io.avaje.inject.aop.Aspect.Import.Imports
- value() - Element in annotation type io.avaje.inject.aop.Aspect.Import
-
Annotation type to import
W
- with(Object, Method, Object...) - Method in class io.avaje.inject.aop.Invocation.Base
-
Set the instance, method and arguments for the invocation.
- with(Object, Method, Object...) - Method in class io.avaje.inject.aop.Invocation.Call
- with(Object, Method, Object...) - Method in class io.avaje.inject.aop.Invocation.Run
- wrap(MethodInterceptor) - Method in class io.avaje.inject.aop.Invocation.Base
-
Wrap this invocation using a methodInterceptor returning the wrapped call.
- wrap(MethodInterceptor) - Method in class io.avaje.inject.aop.Invocation.Call
- wrap(MethodInterceptor) - Method in class io.avaje.inject.aop.Invocation.Run
All Classes and Interfaces|All Packages|Serialized Form