[
http://jira.jboss.com/jira/browse/JBAOP-384?page=comments#action_12360421 ]
Flavia Rainone commented on JBAOP-384:
--------------------------------------
This issue has already been implemented as a result of the refactoring performed on task
JBAOP-381.
This refactoring consisted in the creation of AdviceType enum, and in allowing tags based
on those types. That way, adding a new advice type should be automatic from now on. One
just needs to add the corresponding type to AdviceType, configure the rules in
AdviceMethodFactory, and, finally, write the generation code in
JoinPointGenerator.generatedJoinPointInvokeMethod. All the rest will be handled
automatically, including xml parsing.
Notice that we still need to write a tutorial topc for that, and, adding finally advices
to the reference manual. Plus, this feature is not tested, yet.
Add around xml tag
------------------
Key: JBAOP-384
URL:
http://jira.jboss.com/jira/browse/JBAOP-384
Project: JBoss AOP
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.alpha4
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Priority: Minor
Fix For: 2.0.0.alpha5
Original Estimate: 1 hour
Remaining Estimate: 1 hour
Add an "around" tag for around advices, just like before and after:
<around name="..." aspect="...">
This tag is equivlent to the advice tag (so, we can say that around advices are the
default type).
With this tag, the user can write clearer xml files, if he/she wants to specify the type
of the advice to be an around type.
This tak includes a simple update to the documentation (introduce around in
annotated-parameters tutorial chapter, and in the reference manual, xml chapter)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira