Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] around advice and introduced method

Hi,
 
  I am using the mixin pattern( declaring an interface inside my aspect ). How do I call an introduced method from
within my around advice like this ?
 
  pointcut callSetter( Bean b )
     : call( public void com.blueprint.util.test.Bean.setName( String ) ) && target( b );
  
  void around( Bean b ) : callSetter( b )  {
      firePropertyChange( b, propertyName, oldValue, b.getName()); --> This is the inter-type declaration
  }
 
 
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