[jboss-user] [JBoss AOP] - Re: Inteception on field inherited through generic superclas

TOMBATLECRUISEr do-not-reply at jboss.com
Thu Jan 11 04:13:21 EST 2007


One more question: will this work also for parent class private fields?

class POJO
{
  private int field;

  setXXX and getXXX for field
}

class Sub extends POJO
{
   private int subField;

  setXXX and getXXX for subField
}

Sub sub = new Sub();
sub.setField(5); // will be this one intercepted ?

Thanks.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000305#4000305

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000305



More information about the jboss-user mailing list