[jboss-user] [JBoss AOP] - Re: Method Advised class on getInterceptorChainReadWriteLock

pcross616 do-not-reply at jboss.com
Fri Feb 27 20:04:42 EST 2009

Just to circle back to the orginal problem with the new introspector as well it seems that this ReadLock - WriteLock deadlock issue only happens when using PER_INSTANCE aspects as well since it is occuring in the generated InstanceAdvisor for the advised class.  

What causes the version of the parent to the advisor to change, to cause the doRebuildForInstance method to be called?

  | public void checkVersion()
  |       {
  |          if (needsRebuild || parent.version != GeneratedClassAdvisor.this.version)
  |          {
  |             doRebuildForInstance();
  |             needsRebuild = false;
  |          }
  |       }


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213904#4213904

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213904

More information about the jboss-user mailing list