On Jan 18, 2007, at 2:51 AM, wenbin wang wrote:

Hi all:
My english is very poor , so hope you can sit through util read this question over, :-)
Actually it seems pretty good :-)
why has InboundWire and OutboundWire two class,and what they useful?

Wires have two sides since there may be policy or other things associated with a source or target, for example, transaction context. The following picture may help to explain. Component A and Component B both references wired to a service on Component C:

A ------
                    --------C
B ------

A and B may have policies attached to their references that are distinct and hence the runtime will create outbound wires for those. C may also have policies associated with its service, which is represented by an inbound wire. The runtime will connect the inbound wires from A and B to C. This will also help with re-wiring scenarios, for example B gets re-targeted to D.

OutboundWire: for managing the reference side of a wire
about this explain, can I think
InboundWire: for managing the service side of a wire? but you explain for managing the inbound side of a wire
The inbound side of a wire involves policies and other things associated with a service, for example, security or transactions. These are manifested as interceptors. Each wire has a set of invocation chains associated with the service operations. The interceptors are part of these invocation chains.

I hope this helps.

Jim
  please you describe detail.
  thinks very much

                
---------------------------------
 Mp3疯狂搜-新歌热歌高速下


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

Reply via email to