Alternate bindENC/rebindENC could be added that uses a custom RefAddr to key the bindings to the context and relative binding using a different reference address type such as "enc". All of the java:comp/env contexts are lazily cleaned up as there is no standard api for removing content from the java:comp ObjectFactory binding. The ENCFactory would have to be used directly to remove the bindings.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Adrian Brock > Sent: Tuesday, May 31, 2005 5:44 PM > To: jboss-development@lists.sourceforge.net > Subject: Re: [JBoss-dev] NonSerializableFactory doesn't seem > usable withjava:comp > > If you do that, I'll bet you'll cause memory leaks due to > NonSerializableFactory -> context -> object -> class -> > undeployed classloader because some places aren't getting > tidied correctly. > > I put a TODO in the WebDeployer, because it never gets tidied > up (it is left to garbage collection) See > AbstractWebDeployer.parseWebAppDescriptors() > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development