On Feb 21, 2007, at 8:05 AM, Ignacio Silva-Lepe wrote:
I'm not sure I understand this. Looking at ConnectorImpl,
attachInvokers
calls createTargetInvoker on a target, and it is called when a
source is
being wired. Since ConnectorImpl performs the wiring in a single pass
(at least for a non-distributed composite), it seems to me there is no
guarantee that a target wil have its wire(s) when createTargetInvoker
is called upon it. Perhaps we are not talking about the same thing?
I think the connector is in still transition and what's there is
leftover from the single VM model. The key operation is:
public void connect(WireDefinition definition) throws
WiringException {
throw new UnsupportedOperationException();
}
which isn't very useful atm :-)
I think there's overlap in where we associate the actual target
instance with the proxy - we seem to be doing it in both the target
invoker and the proxy's invocation handler. This may be a hangover
from support for the old locateService call and we can probably
simplify that now all access goes through references.
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]