Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] passing context to advices

hello all,
 i have following code which shows, in ajdt, no cross references..

   pointcut getItems() :
        call (* com.Manager.getItems(..));
   
    pointcut build(DTO demand) :
        withincode(* com.ProcessorBean.build(..,DTO))
        && args(demand);
   
   
   
    Object around(DTO demand) :
            (build(demand) && getItems()){
        System.err.println("We are there...");
        return proceed(demand);
    }





if instead i omit the DTO parameter (menaing, i don't pass as argument of my build pointcut, everything
works fine

anyone can tell me what's wrong? more likely i am using wrong syntax.....

thanx and regards
 marco

Back to the top