Hi Leif,

Some questions on the Instrument packages:

1. Instrumentable defines setInstrumentName() and getInstrumentName().
Is it on purpose that setInstrumentableName() is not called on an
Instrumentable Component when it is created by the
InstrumentDefaultComponentFactory? Not calling setInstrumentableName()
does not cause any problem since getInstrumentableName() is only called
on child Instrumentables. But the javadoc suggests it will be done: 

/* This value may be set by a parent Instrumentable, or by the
 *  InstrumentManager using the value of the 'instrumentable' attribute
in the configuration of the component.
*/
void setInstrumentableName() { ....

2. In InstrumentComponentManager do we want to register created handlers
to the InstrumentManager? The comments say so, but we don't call 
registerInstrumentable:
// Register the new handler with the instrumentManager if it exists.
((Instrumentable)handler).setInstrumentableName( instrumentableName );

Thanks,
Vincent
        



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

Reply via email to