[jboss-jira] [JBoss JIRA] Created: (JBAOP-573) Created Interceptor name is assumed to not change for a given scenario
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Tue May 6 15:40:30 EDT 2008
Created Interceptor name is assumed to not change for a given scenario
----------------------------------------------------------------------
Key: JBAOP-573
URL: http://jira.jboss.com/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
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 ++
}
...
}
--
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
More information about the jboss-jira
mailing list