PDA

View Full Version : Retrieving metadata from advice



markmconel
11-29-2006, 06:20 PM
I have setup a simple AttributeMatchMethodPointcutAdvisor and am using a custom attribute with some BeforeAdvise. In Chapter 9 there is a statement "Advice associated with this pointcut can then read the metadata assocatied with the attribute to configure itself."

Does anyone happen to have an example of how you might read metadata associated to the attribute/pointcut from the advice?

markmconel
11-30-2006, 01:48 PM
I figured this one out.

Bruno Baia
12-01-2006, 08:56 AM
Nice,

The AopQuickStart will provide an example using convenience Spring poincut in the 1.1 P3.


Bruno