This  seems to not working.

  @Pointcut("execute(* javax.naming.Context+.lookup(String)) &&
args(beanName)")
  public void initialContextLookup(String beanName) {
  }

  @Around("initialContextLookup(beanName)")
  public Object aroundInitialContextLookup(final ProceedingJoinPoint
thisJoinPoint, String beanName) throws Throwable
  {
        // code
  }

Can you please let me know what I'm doing wrong here?

Thanks
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to