public interface AspectDecorator
MethodAdvice
for advice. Advice can inspect or change method parameters, inspect or
change the method's return value, and inspect and change thrown exceptions (checked and unchecked).Modifier and Type | Method and Description |
---|---|
<T> AspectInterceptorBuilder<T> |
createBuilder(Class<T> serviceInterface,
T delegate,
AnnotationAccess annotationAccess,
String description)
Creates a builder that can be used to create the interceptor.
|
<T> AspectInterceptorBuilder<T> |
createBuilder(Class<T> serviceInterface,
T delegate,
String description)
Creates a builder that can be used to create the interceptor.
|
<T> AspectInterceptorBuilder<T> createBuilder(Class<T> serviceInterface, T delegate, String description)
T
- the type of the service interface.serviceInterface
- defines the interface of the interceptor and the delegatedelegate
- the object on which methods will be invokesdescription
- used as the toString() of the interceptor unless toString() is part of the service
interface<T> AspectInterceptorBuilder<T> createBuilder(Class<T> serviceInterface, T delegate, AnnotationAccess annotationAccess, String description)
T
- the type of the service interface.serviceInterface
- defines the interface of the interceptor and the delegatedelegate
- the object on which methods will be invokesannotationAccess
- provides access to combined annotations of the underlying service
and service interfacedescription
- used as the toString() of the interceptor unless toString() is part of the service
interface5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.