Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Introducing AspectJ 5

Hi,
      This article about AspectJ 5 has this to say.
         "Pointcuts are written using the @Pointcut annotation on a void method with the same signature as the pointcut."
 
This is only if the pointcut is not using annotations. Is that right ?
 
This code works.
 
 @Pointcut("execution(@com.blueprint.util.annotation.StatusShow * *..*(..))")
    void statusMethods(){};
 
 @Before("statusMethods()")
 public void before( final JoinPoint jp ) {
    ------------
 }
 
Thanks,
Mohan

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


Back to the top