Hi,
I am using Tuscany 1.6. My application creates a .composite file @ runtime
and so we are forced to use the following logic to create an SCANode.
SCANode node = SCANodeFactory.*newInstance*().createSCANode(
"Sample.composite", compositeXML, contribution);
In the above createSCANode() operation, first arg is some name for the
composite, second arg is my XML string of .composite file, and the third arg
is the SCAContribution object that points to some location where resources
are available.
My application starts and loads jars from say "c:\my-sca-app\lib" folder and
I created a contribution object like:
contribution = *new* SCAContribution("c1", "c:\\my-sca-app\\lib");
Now my doubt is, can the SCAContribution object work for resources inside
the *.jar* files in the lib path? Or is it going to only work for
*.class*files available in the lib path?
My basic requirement is that, I need to start an SCANode based on
dynamically build .composite file and I have all resources inside *.jar*files @
"c:\\my-sca-app\\lib".
Please help. Thanks,
Anil