Can someone propose a SCA specific API mentioned by Jeremy please?
Something like
interface ScaRegistry
{
Definition getDefinition (String nameSpace);
Message getMessage (QName);
}
I don't know the SCA requirement much enough to make such proposal.
At the same time, we can practise IoC in ScaRegistry service locating.
I hope I can learn from that practice and update the registry generic API
accordingly.
Thanks for pointing out a nice mechanism.
On 8/30/06, Jim Marino <[EMAIL PROTECTED]> wrote:
On Aug 30, 2006, at 10:49 AM, Jeremy Boynes wrote:
> As part of Tuscany there should not be any mechanism in a API for
> "service location" - that is the responsibility of the IoC container.
>
+1 (which nicely avoids external dependencies on some locator
implementation and evil Singletons)
> --
> Jeremy
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Yang ZHONG