خرید بک لینک

Vote count: 0

I am trying to create a pointcut expression that will fire on all methods in a certain package but not fire based on a custom aotation. Here is what i have so far that works for the first execution but not the second. Thanks for the help!

@AfterThrowing(pointcut = "execution(* core.services..*.*(..)) 
AND !(execution(* *->@core.services.aotation.Ignore))", throwing = "ex") 

public void exceptionThrown( Throwable ex ){}

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 23 ارديبهشت 1395 ساعت: 7:48

صفحه بندی