One thing I've been thinking about lately ... is it too late to
simplify BuilderFactory?

1) It should be named "InjectorFactory" because that (and event
registration) is what it does.

2) Many of the elements are simply not necessary.

Wiring of constructor args / properties takes care of :
  <log> <messages> <error-handler> <error-log> <class-resolver>

<service>, <set-service>, <configuration>, <set-configuration> can be
subsumed by
<object> <set-object>

<boolean> <int> <long> <string> could also be converted into <object>
(give or take, we need to allow strings without prefixes to stay
strings and be converted as appropriate).

log-property messages-property service-id-property error-log-property
error-handler-property class-resolver-property could all go as well,
we just need to trust the autowire logic.

... or should be just leave well enough alone?

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to