Kabir Khan [
http://community.jboss.org/people/kabir.khan%40jboss.com] created the
discussion
"Re: With compile-time weaving, why does AOP need run-time configuration?"
To view the discussion, visit:
http://community.jboss.org/message/563731#563731
--------------------------------------------------------------
Because JBoss AOP is fully dynamic when it comes to weaving. It follows a two step
process
1) When the class is woven (either at compile time or when the class is first woven) we
put in the hooks for interception to happen. These hooks are the same for a member
matching the pointcut expression of a <bind> element or a <prepare> element.
2) When you create an instance of the class (at runtime) the advices are created according
to the sub-elements of <bind> elements for its member hooks.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563731#563731]
Start a new discussion in JBoss AOP at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]