[jboss-user] [JBoss Microcontainer Development] New message: "Qualifiers introduced a cleanup bug"

Kabir Khan do-not-reply at jboss.com
Fri Jan 22 13:03:44 EST 2010


User development,

A new message was posted in the thread "Qualifiers introduced a cleanup bug":

http://community.jboss.org/message/521812#521812

Author  : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com

Message:
--------------------------------------------------------------
I've found that this code does no longer get called for the ContextualInjectionDependencyItem which are now created by AbstractInjectionValueMetaData
 
   private void removeClassContextReference()
   {
      DependencyInfo dependencyInfo = getDependencyInfo();
      if (dependencyInfo != null)
      {
         // remove all dependency items that hold class ref
         Set<DependencyItem> dependencys = dependencyInfo.getIDependOn(ClassContextDependencyItem.class);
         dependencys.addAll(dependencyInfo.getIDependOn(CallbackDependencyItem.class));
         for (DependencyItem di : dependencys)
         {
            // can cast because of getIDepend method impl
            ClassDependencyItem cdi = (ClassDependencyItem)di;
            cdi.clear(getController());
         }
      }
   }
 

 
https://jira.jboss.org/jira/browse/JBKERNEL-82

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/521812#521812




More information about the jboss-user mailing list