Interface ProxyBuilder<C,M,R>
- Type Parameters:
C- The class typeM- The method element typeR- The builder result
- All Superinterfaces:
Buildable<R>
- All Known Subinterfaces:
ElementProxyBuilder<R>
- All Known Implementing Classes:
AopProxyWriter, ProxyingBeanDefinitionWriter, RuntimeProxyBeanDefinitionWriter
Builder abstraction for proxy-oriented bean definitions.
- Since:
- 5.1.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionProxyBuilder<C, M, R> addAroundMethod(M methodElement) Adds a method that should participate in around advice.ProxyBuilder<C, M, R> addIntroductionMethod(M methodElement) Adds an introduction method implemented directly by the proxy.ProxyBuilder<C, M, R> addProxyMethod(M methodElement) Adds a proxied method that delegates to the target.ProxyBuilder<C, M, R> implementInterface(C interfaceElement) Adds an interface to be implemented by the proxy.
-
Method Details
-
implementInterface
Adds an interface to be implemented by the proxy.- Parameters:
interfaceElement- The interface element
-
addProxyMethod
Adds a proxied method that delegates to the target.- Parameters:
methodElement- The method to proxy
-
addIntroductionMethod
Adds an introduction method implemented directly by the proxy.- Parameters:
methodElement- The method to introduce
-
addAroundMethod
Adds a method that should participate in around advice.- Parameters:
methodElement- The method element
-