[jboss-user] [JBoss AOP] - Re: What's the difference between: Joinpoint - JoinPointBean
do-not-reply at jboss.com
Tue May 20 11:31:31 EDT 2008
Joinpoint is mainly used to identify a joinpoint. It just wraps a method, constructor etc.
Invocation is used for around advice, and wraps what is contained by JoinPointBean.
JoinPointBean is an internal class, and contains the interceptor chains as well as a reference to the Joinpoint.
JoinPointInfo is an interface to JoinPointBean that makes it immutable, this should be used by before/after/throwing/finally advice when a reference to the JoinPointBean is needed. For example it can be used to resolve annotations, or to narrow down that a before/after/throwing/finally advice only applies to a certain kind of joinpoint.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152068#4152068
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152068
More information about the jboss-user