commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Wannheden" <>
Subject [HiveMind] extend BuildFactory to use static fields/methods
Date Wed, 01 Oct 2003 05:50:42 GMT

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">


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

View raw message