hammett wrote:

Hi. I was checking OpenIM implementation and found some things:

- Did you consider using prevayler as a Storage?

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

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?



A transient lifestyle returns a totally new instance for each lookup.


Maybe the component dependency could declare a cardinality.


Can you provide a little more detail about what your thinking here?


Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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



Reply via email to