Michael McKibben wrote:

> Isn't this a chicken-and-the-egg problem? The CM must know which component
> instance to call lookup() on! Perhaps if it was a static method that was
> introspected, but I'm not sure that is a viable solution. JNDI has some
> nifty solutions that might be possible to borrow from, e.g. the
> Referenceable interface and the ObjectFactory/ObjectFactoryBuilder.

that's why I suggested that they be singletons (i.e. only one instance of
the component).

however - even if they were given some other lifestyle it would still
work, there would just be redundant instances.

Robert.


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

Reply via email to