On Feb 19, 2008 7:03 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
> > > I still wonder whether it's a good or bad assumption to assume the
> > DTInterceptor always does a copy, since I found a use for it when it
> > did not (but again that was a more ugly use).
> >
>
> I wouldn't make that assumption as it depends on the nature of the
> transformation but with the new design the interceptor gets to decide
> and give the proper answer, no assumption is needed.
> --
>
> Jean-Sebastien
>
Not sure if I got my last point across. I was pointing out that
DTInterceptor now has hard-coded:
public boolean allowsPassByReference() {
return true;
}
This implies that if DTInterceptor is set up on the wire, the
PBVInterceptor will never do a copy. If you don't agree
with that assumption either then maybe the code should be changed.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]