[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] help on pointcuts weaving

My poincut and advice looks like this:
 
pointcut name2()
  : call(public * Socket.getInetAddress(..)) && withincode(public * Socket.getInetAddress.getLocalHost(..));
  
  
  before() : name2() {
   System.out.println("able to weave");
}
 
Still i am unable to weave in the advice at Socket.getInetAddress.getLocalHost
 
Please let me know where i am going wrong.
 
thanks.