On Wed, 1 Oct 2003 07:50:42 +0200, Knut Wannheden <[EMAIL PROTECTED]> wrote:
Hi,
I was wondering whether it would make sense to extend the BuildFactory
service (or maybe add a new wervice) to also be able to construct objects by
returning the value of a classes static field or by calling a static method
on a class. The former would obviously be simpler. E.g. (as a new service):
<invoke-factory service-id="hivemind.StaticBuilderFactory"> <construct class="foo.Bar" static-field="BAZ"> <set.../> </construct> </invoke-factory>
--knut
--------------------------------------------------------------------- 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]