You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jim Marino <jm...@myromatours.com> on 2006/10/26 17:21:57 UTC

r468018 - elimination of asynchronous target invokers

Following up on the move of non-blocking thread dispatches to  
NonBlockingBridgingInterceptor, I merged the asynchronous variant of  
TargetInvoker with its synchronous counterpart in Component  
implementations. This has the effect of simplifying extensions since  
they only need to extend TargetInvokerExtension; the handling of  
message and correlation ids will be handled automatically by the  
wiring fabric. This will hopefully provide Ant's scripting extension  
with built-in async support. As part of this refactor, I also  
simplified the TargetInvoker hierarchy for Java component types by  
eliminating PojoInvoker and combining AsyncJavaTargetInvoker and  
JavaTargetInvoker.

I did not make the analogous change for References (they still have  
the two variants of TargetInvoker), but I believe we can perform a  
similar merge. Raymond or Ignacio, do you want to take a look at this?

Jim
  
    

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: r468018 - elimination of asynchronous target invokers

Posted by Ignacio Silva-Lepe <is...@gmail.com>.
The composite reference target invoker variants are for forward vs callback
invocation. Their only real difference is that they instantiate a different
invocation handler to pass through to. It may be worth keeping them
separate. As far as I can tell, they are not further extended so there is no
issue with that.

On 10/26/06, Jim Marino <jm...@myromatours.com> wrote:
>
> Following up on the move of non-blocking thread dispatches to
> NonBlockingBridgingInterceptor, I merged the asynchronous variant of
> TargetInvoker with its synchronous counterpart in Component
> implementations. This has the effect of simplifying extensions since
> they only need to extend TargetInvokerExtension; the handling of
> message and correlation ids will be handled automatically by the
> wiring fabric. This will hopefully provide Ant's scripting extension
> with built-in async support. As part of this refactor, I also
> simplified the TargetInvoker hierarchy for Java component types by
> eliminating PojoInvoker and combining AsyncJavaTargetInvoker and
> JavaTargetInvoker.
>
> I did not make the analogous change for References (they still have
> the two variants of TargetInvoker), but I believe we can perform a
> similar merge. Raymond or Ignacio, do you want to take a look at this?
>
> Jim