use of jodd.proxetta.pointcuts.MethodAnnotationPointcut in project jodd by oblac.
the class PetiteHelper method createProxyProxetta.
public static ProxyProxetta createProxyProxetta() {
ProxyPointcut pointcut_logged = new MethodAnnotationPointcut(Logged.class);
ProxyAspect aspect_logged = new ProxyAspect(LogProxyAdvice.class, pointcut_logged);
return ProxyProxetta.withAspects(aspect_logged);
}
use of jodd.proxetta.pointcuts.MethodAnnotationPointcut in project jodd by oblac.
the class PetiteHelper method createProxyProxetta.
public static ProxyProxetta createProxyProxetta() {
ProxyPointcut pointcut_logged = new MethodAnnotationPointcut(Logged.class);
ProxyAspect aspect_logged = new ProxyAspect(LogProxyAdvice.class, pointcut_logged);
ProxyProxetta proxetta = ProxyProxetta.withAspects(aspect_logged);
return proxetta;
}
Aggregations