hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Why constructor requires parameters?
Date Mon, 27 Dec 2004 21:39:03 GMT
Knut agrees; he's added some much smarter code to HiveMind's
BuilderFactory that works darn hard to find the right constructor and
provide it with the correct parameters.


On Mon, 27 Dec 2004 13:38:33 -0600, kgignatyev <kgignatyev@yahoo.com> wrote:
> Why HiveMind requires constructor parameters if there is only one
> constructor, or only one constructor that might be satisfied with
> services from the repository?
> Kind of contradictory to "Less is MORE" ideology.
> 
> Could HiveMind in version 1.1 adopt something like Pico's use of
> getGreediestSatisfiableConstructor()?
> 
>  http://www.picocontainer.org/versions/1.1/apidocs/org/picocontainer/defaults/InstantiatingComponentAdapter.html#getGreediestSatisfiableConstructor(org.picocontainer.PicoContainer)
> 
> --
> Thanks,
> 
> Konstantin Ignatyev
> 
> http://www.kgionline.com
> 
> PS: If this is a typical day on planet earth, humans will add fifteen million tons of
carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two
miles of desert, eliminate between forty to one hundred species, erode seventy-one million
tons of topsoil, add 2.700 tons of CFCs to the stratosphere, and increase their population
by 263.000
> 
> Bowers, C.A.  The Culture of Denial:
> Why the Environmental Movement Needs a Strategy for Reforming Universities and Public
Schools.
> New York:  State University of New York Press, 1997: (4) (5) (p.206)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message