Package jodd.proxetta
Interface ProxyPointcut
-
- All Known Implementing Classes:
AllGettersPointcut,AllMethodsPointcut,AllRealMethodsPointcut,AllSettersPointcut,AllTopMethodsPointcut,MethodWithAnnotationPointcut
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ProxyPointcutPointcut is a set of points in the application where advice should be applied, i.e. which methods will be wrapped by proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ProxyPointcutand(ProxyPointcut otherProxyPointcut)Performs AND operation on this and the next proxy.booleanapply(MethodInfo methodInfo)Returnstrueif method should be wrapped with the proxy.default ProxyPointcutor(ProxyPointcut other)Performs OR operation on this and the next proxy.
-
-
-
Method Detail
-
apply
boolean apply(MethodInfo methodInfo)
Returnstrueif method should be wrapped with the proxy. Returnsfalseif method should not be wrapped.
-
and
default ProxyPointcut and(ProxyPointcut otherProxyPointcut)
Performs AND operation on this and the next proxy.
-
or
default ProxyPointcut or(ProxyPointcut other)
Performs OR operation on this and the next proxy.
-
-