On Fri, Jun 5, 2009 at 4:31 PM, Raymond Feng<[email protected]> wrote: > See my comments inline. > > -------------------------------------------------- > From: "Simon Laws" <[email protected]> > Sent: Thursday, June 04, 2009 9:52 AM > To: <[email protected]> > Subject: Re: [2.x] change in behaviour for contribution loading > > [[snip]] >> >> Looking through the code today I notice other changes so that the >> organization now seems to be.... >> >> N X NodeFactory (1 per JVM) > > NodeFactory.newInstance() will return the same instance. It can more than > one instances in the same JVM too when the NodeFactory is loaded by > different classloaders. For example, it is the case when we package all > Tuscany jars in the webapp. >
How about we rename the newInstance method to be getInstance as thats more like what its doing? ...ant
