Hi,

Thank you for catching this. Using the getters to dump objects seems to be destructive in some cases. I'll add a field introspection based approach to the PrintUtil.

Raymond

----- Original Message ----- From: "Simon Laws" <[EMAIL PROTECTED]>
To: "tuscany-dev" <[email protected]>
Sent: Wednesday, August 22, 2007 5:29 AM
Subject: Model printing - Causing problems in binding-sca-axis2


Changes overnight mean that the tests for the remote version of the sca
binding don't run.

CompositeActivator.addReferenceBindingProvider(RuntimeComponent,
RuntimeComponentReference, Binding)

Is now deferred until someone gets the runtime wires from the component
reference.

Here are the unfortunate events that cause the remote tests to fail.

In the remote case a warning is printed to say that the target is not found
Some new logging code prints out the model in this case
The method for getting the runtime wires is getRuntimeWires which the model
printer calls as a property getter
This call builds the reference wires before all of the model information has
been loaded.

So I've commented out the model printing for now. But we need to think about
the location of this wire initialization code.

Simon



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

Reply via email to