[jboss-jira] [JBoss JIRA] Closed: (JBAOP-573) Created Interceptor name is assumed to not change for a given scenario
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Wed Dec 31 20:48:54 EST 2008
[ https://jira.jboss.org/jira/browse/JBAOP-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flavia Rainone closed JBAOP-573.
--------------------------------
Fix Version/s: 2.0.1.GA
Resolution: Done
Assignee: Flavia Rainone
> Created Interceptor name is assumed to not change for a given scenario
> ----------------------------------------------------------------------
>
> Key: JBAOP-573
> URL: https://jira.jboss.org/jira/browse/JBAOP-573
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.CR9
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: 2.0.1.GA
>
>
> Method ClassInstanceAdvisor.removeInterceptorStack() invokes create on each InterceptorFactory of the stack so it can find the name of the interceptors to remove.
> This method assumes that the name of the interceptor it is creating is the same name of the interceptor it must remove. However, the definition of the name of an interceptor is up to the internal workings of the interceptor implementation:
> public MyInterceptor implements Interceptor
> {
> public static int count = 0;
> String name;
> public MyInterceptor()
> {
> this.name = "Interceptor number " + count ++
> }
> ...
> }
> The same behaviour can be seen at GeneratedInstanceAdvisorMixin.removeInterceptorStack method.
--
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