avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Agahi <a...@users.sf.net>
Subject Re: Dependency Lookup Was: OpenIM 1.1 (based on Merlin 3.0 beta1)
Date Mon, 29 Sep 2003 14:22:04 GMT
On Monday 29 September 2003 15:26, hammett wrote:
> Hi. I was checking OpenIM implementation and found some things:
> - Did you consider using prevayler as a Storage?

I'm considering hibernate

> - The AccountRepositoryHolderImpl has a ownership issue (that I face a
> few weeks ago by myself)
>   - You declare that 'AccountRepositoryHolderImpl' class depends on
> Account service
>   - After that you *create* on or more Account (m_serviceManager.lookup(
> "Account" );)

hu? sorry do you mean?

> Now the question: how merlin handles the Account lookup? It creates a
> new one for each lookup (his lifestyle is 'transient') or returns the
> same one? Maybe the component dependency could declare a cardinality.

seems to create a new one each time.

To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org

View raw message