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 ProxyPointcut
Pointcut 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 ProxyPointcut
and(ProxyPointcut otherProxyPointcut)
Performs AND operation on this and the next proxy.boolean
apply(MethodInfo methodInfo)
Returnstrue
if method should be wrapped with the proxy.default ProxyPointcut
or(ProxyPointcut other)
Performs OR operation on this and the next proxy.
-
-
-
Method Detail
-
apply
boolean apply(MethodInfo methodInfo)
Returnstrue
if method should be wrapped with the proxy. Returnsfalse
if 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.
-
-