[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean instantiate order with contextual injection
alesj
do-not-reply at jboss.com
Tue Aug 15 12:26:12 EDT 2006
"adrian at jboss.org" wrote :
| What you have done is added a reference to the class in the SuppliesMetaData
| which once the bean gets uninstalled will cause a memory leak.
|
| UninstalledBeanMetaData (waiting to get reinstalled) ->
| SuppliesMetaData -> Class -> ClassLoader (that is supposed to be
| garbage collected).
Ok, this is then the same as If I would set a value (the demaning class) in the AbstractDependencyMD?
So class should only be set in the 'placeholder' DependencyItem? No memory leak problem there?
As for MDV[]Node.describeVisit() - it should not add any class refs to MetaData then?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965314#3965314
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965314
More information about the jboss-dev-forums
mailing list