Ummm urrrk I have a big problem with assuming there is only one registered object of each class. If you return a collection of all registered objects of a requested class this is ok with me, although I don't see yet how useful it is. Are you keeping track of inheritance or returning objects only of the exact requested class (i.e. interfaces don't work)
I think anything that encourages people to use or assume singletons is a bad idea. What problem are you trying to solve here? ______________________________________________________________________ View this jboss-dev thread in the online forums: http://jboss.org/forums/thread.jsp?forum=66&thread=6254 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
