Of course, you can refer to any of your custom annotations like this in your Groovy-code:
@Before("@MyAnnotation")
public void beforeMyAnnotation() {
// Do something
}
@After("@MyAnnotation")
public void afterMyAnnotation() {
// Do something
}
Those are tagged hooks BTW, you can also use more than one. Have look here for a quick example.