hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <>
Subject RE: Reusing BuilderFactory in another ServiceImplementationFactory
Date Fri, 13 Jan 2006 14:35:39 GMT
I believe that's still the way to go for now.  We're trying to figure out a
good way to abstract out all of that construction logic into a very
easy-to-use class.  Howard came up with a really cool idea which involves
generating a class at runtime (via Javassist) which builds an object based
on a "construction plan" using absolutely NO reflection code at all.  The
construction plan would contain information regarding which constructor to
use and which constructor parameters (if any) to use.  It would also contain
instructions on how to inject all of the properties.  

-----Original Message-----
From: Arik Kfir [] 
Sent: Friday, January 13, 2006 5:13 AM
Subject: Reusing BuilderFactory in another ServiceImplementationFactory


I'm writing a service factory which creates some service type. I would
like to reuse BuilderFactory to actually create the service, and then
perform a little extra configuration on it. Since I want to retain
BuilderFactory's abilities, I would have to use the same (or extended)
parameters schema used by BuilderFactory.

The problem is that BuilderFactory's parameters schema is inline its
hivemind module definition file, and therefor can't be reused by other

I've searched the mailing list and this question has come up before
where the reply was to simply to copy-paste it. Is that still the way
to go? Is extracting the parameters schema to stand on its own planned
to a future version?

Thanks in advance,
    Arik Kfir          

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message