@PreventServiceDecoration public class AspectDecoratorImpl extends Object implements AspectDecorator
Constructor and Description |
---|
AspectDecoratorImpl(PlasticProxyFactory proxyFactory) |
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.
|
public AspectDecoratorImpl(@Builtin PlasticProxyFactory proxyFactory)
public <T> AspectInterceptorBuilder<T> createBuilder(Class<T> serviceInterface, T delegate, String description)
AspectDecorator
createBuilder
in interface AspectDecorator
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
interfacepublic <T> AspectInterceptorBuilder<T> createBuilder(Class<T> serviceInterface, T delegate, AnnotationAccess annotationAccess, String description)
AspectDecorator
createBuilder
in interface AspectDecorator
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.