Millies, Sebastian wrote:
When I start certain nodes I'd like to register data factories for static data
objects (i. e. those not loaded through "import.sdo" in the composite file).
Is there a hook or configuration setting to make the nodes returned from
SCANodeFactory.createSCANode() perform some additional initialization
coding upon node.start() ? Or maybe even an xml element in the composite
file that allows me to specify an init-method for the composite?
Alternatively, is it possible to customize (or replace) the SCANodeFactory
to return my own subclass of org.apache.tuscany.sca.node.impl.NodeImpl, so
that I could override Node.start()?
Yes, you can do that. See the code in NodeFactory.newInstance() for
details of how to specify your custom implementation.
Simon
-- Sebastian