Hi, Please see my comments below.
Thanks,
Raymond
----- Original Message -----
From: chen congwu
To: tuscany-dev@ws.apache.org
Sent: Saturday, January 20, 2007 10:40 PM
Subject: About TargetInvoker
TargetInvoker stays at the last step in the outbound chain of a
reference. When is targetinvoker set? During the connecting
phase?
<rfeng>TargetInvoker is created by the ReferenceBinding which is built by a
BindingBuilder at "build" phase.</rfeng>
What is JavaTargetInvker used for? It calls the target service
directly, so is it used for java2java local service invocation?
<rfeng>JavaTargetInvoker is used to invoke operations against a class using
reflection APIs. It's the invoker for Java components (i.e.,
implementation.java)</rfeng>
The last question is a little off the topic. Every binding uses
its own TargetInvoker to invoke its binding implementation in the reference
side. How is the opposite job done in the service side? For a ws binding,
is it the axis engine responsible for listening on the transport,
extract the message, calling specific service implemented in the
SCA component?
<rfeng>ServiceBinding is usually responsible to register a listener with the
transport layer in the start() method. The logic in the listener code will
delegate the invocation to the component that the service is wired
to.</rfeng>
Thanks
-----------------------------------
Graduate Student with Institute of Software,
Chinese Academy of Sciences, China
Comain Chen
Mail: [EMAIL PROTECTED] ,[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]