Index

A B C E G I L M R S T U V X 
All Classes|All Packages|Serialized Form

A

AnnotatedArgument<T> - Class in xyz.haff.aspektoj.util
Find the argument with an specified annotation of a method
AnnotatedArgument(JoinPoint, Class<T>) - Constructor for class xyz.haff.aspektoj.util.AnnotatedArgument
 

B

Benchmarked - Annotation Type in xyz.haff.aspektoj.annotations
Logs the elapsed time since the call of the method until its completion.
Between - Annotation Type in xyz.haff.aspektoj.annotations
Marks a number parameter with the minimum and maximum expected integer values.

C

Cached - Annotation Type in xyz.haff.aspektoj.annotations
Ensures that the method is cached, where the key is a parameter annotated with @CacheKey and the value is the result of the method.
Cached.Type - Enum in xyz.haff.aspektoj.annotations
 
CacheKey - Annotation Type in xyz.haff.aspektoj.annotations
Annotates a parameter in a @Cached method that will be used as the key of the cache
ContextVar - Annotation Type in xyz.haff.aspektoj.annotations
Annotates a parameter in a @LogContext annotated method that indicates that it is to be added to the logger's MDC

E

exceptions() - Element in annotation type xyz.haff.aspektoj.annotations.Retryable
 

G

getAnnotation() - Method in class xyz.haff.aspektoj.util.AnnotatedArgument
 
getArgument() - Method in class xyz.haff.aspektoj.util.AnnotatedArgument
 

I

INSTANCE - Static variable in class xyz.haff.aspektoj.util.SecurityContext
 

L

LAST_ACCESSED - Enum constant in enum xyz.haff.aspektoj.annotations.Cached.Type
 
LAST_INSERTED - Enum constant in enum xyz.haff.aspektoj.annotations.Cached.Type
 
LogContext - Annotation Type in xyz.haff.aspektoj.annotations
Adds parameter annotated with @ContextVar to the logger's MDC on call.
Logged - Annotation Type in xyz.haff.aspektoj.annotations
Logs automatically all input parameters and the output of a method.
loggedUser - Variable in class xyz.haff.aspektoj.util.SecurityContext
 
logger() - Element in annotation type xyz.haff.aspektoj.annotations.Benchmarked
 
logger() - Element in annotation type xyz.haff.aspektoj.annotations.Logged
 
logger() - Element in annotation type xyz.haff.aspektoj.annotations.Traced
 

M

max() - Element in annotation type xyz.haff.aspektoj.annotations.Between
 
Memoized - Annotation Type in xyz.haff.aspektoj.annotations
Annotates a method without arguments (Presumably non-deterministic) to make it return the memoized value of a previous execution instead of recalculating it.
min() - Element in annotation type xyz.haff.aspektoj.annotations.Between
 

R

Retryable - Annotation Type in xyz.haff.aspektoj.annotations
Indicates that a method is to be retried if any of the exceptions in the `exceptions` parameter is thrown.
RuntimeTimeoutException - Exception in xyz.haff.aspektoj.exceptions
 
RuntimeTimeoutException() - Constructor for exception xyz.haff.aspektoj.exceptions.RuntimeTimeoutException
 

S

Secured - Annotation Type in xyz.haff.aspektoj.annotations
Indicated that a method can only be used if the logged user (The one in the ThreadLocal of loggedUser in SecurityContext) is the same as `username`
SecurityContext - Class in xyz.haff.aspektoj.util
 
Synchronized - Annotation Type in xyz.haff.aspektoj.annotations
Makes a method thread-safe by wrapping calls to it in a mutex lock and release.

T

Timed - Annotation Type in xyz.haff.aspektoj.annotations
Aborts execution of a method if it takes more than a duration specified in ISO-8601 duration format.
times() - Element in annotation type xyz.haff.aspektoj.annotations.Retryable
 
Traced - Annotation Type in xyz.haff.aspektoj.annotations
Logs all calls to a method in the logger specified in `logger` and also to all calls of methods inside of it.
type() - Element in annotation type xyz.haff.aspektoj.annotations.Cached
 

U

UnauthorizedException - Exception in xyz.haff.aspektoj.exceptions
 
UnauthorizedException(String) - Constructor for exception xyz.haff.aspektoj.exceptions.UnauthorizedException
 
username() - Element in annotation type xyz.haff.aspektoj.annotations.Secured
 

V

value() - Element in annotation type xyz.haff.aspektoj.annotations.Cached
 
value() - Element in annotation type xyz.haff.aspektoj.annotations.ContextVar
 
value() - Element in annotation type xyz.haff.aspektoj.annotations.Memoized
 
value() - Element in annotation type xyz.haff.aspektoj.annotations.Timed
 
valueOf(String) - Static method in enum xyz.haff.aspektoj.annotations.Cached.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum xyz.haff.aspektoj.annotations.Cached.Type
Returns an array containing the constants of this enum type, in the order they are declared.

X

xyz.haff.aspektoj.annotations - package xyz.haff.aspektoj.annotations
 
xyz.haff.aspektoj.exceptions - package xyz.haff.aspektoj.exceptions
 
xyz.haff.aspektoj.util - package xyz.haff.aspektoj.util
 
A B C E G I L M R S T U V X 
All Classes|All Packages|Serialized Form