<contruct class="..."> <service service-id="..."/> <configuration configuration-id="..."/> <int value="..."/> (etc.) <properties> <set-boolean .../> (etc.) </properties> </construct>
On Wed, 1 Oct 2003 10:22:52 -0400, Howard M. Lewis Ship <[EMAIL PROTECTED]> wrote:
Maybe "ConstructorFactory"? Something like:
<contruct class="..."> <service service-id="..."/> <configuration configuration-id="..."/> <int value="..."/> (etc.) </construct>
The elements inside the <construct> element are the parameters to the constructor.
I'll be setting up a HiveMind:Contrib subproject shortly. We can start putting stuff in there and
then migrate it up to library or framework if it proves to be popular and essential.
-- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com
news:[EMAIL PROTECTED]-----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Knut Wannheden Sent: Wednesday, October 01, 2003 10:18 AM To: [EMAIL PROTECTED] Subject: Re: [HiveMind] extend BuildFactory to use static fields/methods
Then how about a new factory service which lets you specify the constructor parameters? This is also a very common IoC pattern AFAIK.
--knut
"Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote in message
Outside of Kurt's use case ... wrapping around machine-generated code, I feel that this talk of
accessing static singletons is a step backwards.
The point of HiveMind is to eliminate those static variables and static inits, do things thread-safe
and just-in-time.
-- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]