Hi Jim, I am not sure I understand one thing, maybe I am missing something. Previously, the wire service was invoked in the build phase, as far as I recall. This meant that by the time the connector needed to ask for a target invoker to get created, any arbitrary component, reference or service would have its wires available. In particular, for (the now called) LocalReferenceBinding, when createTargetInvoker was called on it, it could safely new up a LocalTar- getInvoker passing it its (outbound) wire. Now that the connector is also creating wires in the same phase, it's not clear that a LocalRe- ferenceBinding will always have its wire by the time createTarget- Invoker is called on it. Does this sound right, or is there some (perhaps not so) subtle thing I am missing?
On 2/17/07, Jim Marino <[EMAIL PROTECTED]> wrote:
I've checked in a fairly large change involving moving to a single wire type which has (hopefully) significantly simplified the kernel. Specifically, the change covered the following: - The inbound and outbound wire and invocation chain specializationa have been removed, replaced by a single Wire and InvocationChain type. Wires are now created by the Connector (as opposed to the WireService, which will be renamed ProxyService). The Connector still needs to be refactored further to take a WireDefintion; it current creates wires from ComponentDefinition, ServiceDefiniton, or ReferenceDefinition - Wires are now held on the source. TargetInvokers remain the same. - Callback chains have been moved to Wire as opposed to being contained on an InboundWire - There are only two types of invocation handler, JDKInvocationHandler and JDKCallbackInvocationHandler; the inbound variant is no longer needed - I was able to remove a large amount of code and unit tests as they verified connecting inbound and outbound wires. Actually, code coverage went up to 70% in core. I will continue to refactor the core over the weekend. I'd like to get the Connector moved to using WireDefinitions when possible. Also, I'd like to evolve the wire post-processing per my previous note. This commit will hopefully be the last of the "big" ones". Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
