[jboss-jira] [JBoss JIRA] Commented: (JBAOP-616) Move interceptor chain creation logic (pointcutResolved) to AdviceBinding
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Mon Jul 21 06:26:04 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAOP-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12421980#action_12421980 ]
Kabir Khan commented on JBAOP-616:
----------------------------------
ReflectiveAspectBinder is a kind of advisor that is used by MC to determine what interceptors would apply to a bean. Those interceptors become part of the beans dependencies
> Move interceptor chain creation logic (pointcutResolved) to AdviceBinding
> -------------------------------------------------------------------------
>
> Key: JBAOP-616
> URL: https://jira.jboss.org/jira/browse/JBAOP-616
> Project: JBoss AOP
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
>
> AdviceBinding contains all interceptor factories and, thus, should be responsible for invoking the factories to create interceptors, instead of allowing access to
> its internal data to have others perform this.
> This task includes the following steps:
> - the creation of an InterceptorChainFactory, that encapsulates completely the logic of creation of interceptor chains, creating CflowInterceptors, GenertedAdvisorInterceptors, plain interceptors whenever needed.
> - the internal fields of the AdviceBinding will be replaced by this factory (except the pointcut). Ideally, this factory will not be accessed by any other part of the code.
> - perform retrieval of the appropriate interceptor chain factory accordingly to the instrumentation mode.
> - add a self removal operation to AdviceBinding. This operation will remove all created interceptors from their chains.
> Having this structure (ie., logic of chain creation moved to inside AdviceBinding) is the only way that allows the efficient removal of bindings, without performing any matching or search.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list