Jim, owe Rick better feedback than this.

Rick, then general approach here is good - creating an outbound wire and connecting it to the inbound wire of the target service I think is the way to go. However, you need to use the appropriate kernel services to do this - rather than directly instantiating things like the JavaInterfaceProcessorRegistryImpl you should be using the system component that does that.

The easiest way to do that is to have a component autowire to the provider but to do that it needs to be a component and this is simple class returned to the user. I'd suggest injecting these dependencies into this class from the component that instantiates it.

In createOutboundWire you also seem to be making assumptions about the interceptor chain e.g. adding SynchronousBridgingInterceptor. I've not thought about that in detail but that seems like a suspicious thing to be doing.

--
Jeremy

On Jan 28, 2007, at 5:32 PM, Jim Marino wrote:

Hi Rick,

I'm in the process of do some changes in kernel to handle this. I don't think we should be instantiating impl classes like this directly so I'll roll those capabilities into my changes rather than apply the patch first.

Jim

On Jan 28, 2007, at 5:26 PM, Rick wrote:

I put a patch in for Tuscany 1076. It's not IMO an ideal fix as stated in the Jira. But maybe someone can offer some advise. thanks

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



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



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

Reply via email to