Stephen McConnell wrote:

Eike Stepper wrote:

"Stephen McConnell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]

Eike Stepper wrote:


here they are:


Umm .. looks ok.
Can you post the xinfo of the "app.Client1" component?  Also, I would be
interested in seeing the log with "merlin.audit" set to 'true'.



i've attached the log and here is the SocketConnector.xinfo:


<snip>

After looking at the audit info I think I understand what is happening. The component [/app/Client1] has a single service provider assigned for all of the service dependencies. The provider happens to be a component component (a.k.a. container exporting multiple services).

s/component component/composite component

SJM


container:[/]) children: container:[/app]) children: container:[/app/net4j]) --> [/app/Client1]

When your listing the components returned from the service manager - you basically invoking toString() on the proxy of the container. The container proxy is delegating the toString() invocation to DefaultProtocolManager resulting in the misleading log messages. This is basically of side effect of the fact that composite proxies are create as aggregates of the exported interfaces - when in fact it would be better to construct a specific proxy corresponding to an identified service dependency.

I've referenced this thread together with some related noted under the following issue:

http://nagoya.apache.org/jira/browse/RUNTIME-34

Stephen.




--

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|

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



Reply via email to