On Tue, 26 Oct 2004 11:53:50 -0400, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I was actually thiking about re-using the BuilderFactory's
> BuilderFactoryLogic and generalzing it a bit so that it can handle
> non-services.  In this scenario, BuilderFactory would be the
> specialized case, and POJOBuilder would be the more general case.
> 

I think I see what you mean.  Would this POJOBuilder be a service? 
And what objects would it be able to wire up a POJO against?  Just
loaded HiveMind services or objects from any given set?

I think a service which can be used to programatically wire up a POJO
(against HiveMind services) would be quite useful.

I see this being useful in factory services (not "service factory
services" implementing ServiceImplementationFactory, but rather more
general POJO factories).  The factory service could then wire up the
POJOs it creates with services loaded in the HiveMind registry.  E.g.

  _pojoBuilder.injectServices(createdPojo);

> Might also be a good chance to revist how we do constructor injection,
> since the current implementation is a bit stupid and weak.
> 

+1

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to