[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Does ScopeKey need to maintain a sorted (in ScopeLevel.l

smarlow@redhat.com do-not-reply at jboss.com
Wed Aug 5 10:33:48 EDT 2009


I tested with as trunk (just booting up the app server) and my ScopeKey refactoring didn't seem to cause any problems.  I'm using an unsorted collection in all places except for getScopes, which is currently news up a sorted collection on the fly and returns the sorted values.

I would like to work towards making ScopeKey an immutable class, which pushes the sorting effort onto the constructor (depending on what is passed in).  This will have an impact on the callers and probably require solving some problems without using ScopeKey.

Is this a direction that we want to move towards?  I'm about to enter a pretty deep refactoring and could use some feedback.  :)


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248157#4248157

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248157



More information about the jboss-dev-forums mailing list