Created
October 17, 2013 14:54
-
-
Save felixbarny/7026369 to your computer and use it in GitHub Desktop.
AspectJ disable join point
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pointcut interceptionLocation(): executionOfSomethingInteresting() && | |
if(InterceptorFramework.anythingSwitchedOnAnywhere); | |
Object around(): interceptionLocation() { | |
if (!InterceptorFramework.anythingToDoHere(thisJoinPointStaticPart)) { | |
return proceed(); | |
} | |
// do stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment