From: Marc P. <ma...@an...> - 2003-07-29 09:44:14
|
Guys, We can now add a SingleInstanceHelpersLoader implementation to WM that will never create more than once instance of a helper class, and these will only be added to the context if required. This is nice, for those thread-safe global helpers. Sure we'd need to sync for atomic get (null) and put so it's not perfect, but we might be able to work around that. We could do this before by breaking the contract of CT and returning an existing static instance, but now we don't even need to do this fake factory method for each class. Of course in that situation we didn't need syncing. Brian - how's JSR166 progressing? Marc -- Marc Palmer Contract Java Consultant/Developer w a n g j a m m e r s java and web software design experts with an ethical outlook http://www.wangjammers.org |