[ http://issues.apache.org/jira/browse/TUSCANY-642?page=all ]

Ignacio Silva-Lepe updated TUSCANY-642:
---------------------------------------

    Attachment: InnerComposite.patch

Here's a new patch that modifies CompositeBuilderTestCase to verify that the 
Connector also works for composite services and references.
This patch also includes a more complete sample with an inner composite that 
has an inner service, inner component and inner reference; the inner composite 
is wired from an outer composite to a sibling component and the inner component 
then invokes the outer component.
This patch also fixes a bug, where the loader for implementation composite was 
not being called, by adding a component to composite.scdl in sca/test, 
sca/commands/launcher and sca/runtime/webapp-host.
Finally, for some reason having to do with class loaders, the class for the 
sample's inner service interface was not being found. This has not been 
resolved, at least not well enough. To get over the hurdle I hacked 
LoaderUtil.loadClass to try the old class loader if the one in the deployment 
context does not work. This seems to work but is obviously not adequate (not to 
mention the glaring println). In the interest of making progress, I include the 
hack in this patch. Hopefully the real fix can be incorporated during commit of 
this patch or in a subsequent one.

> Composite references and services - model and runtime representations
> ---------------------------------------------------------------------
>
>                 Key: TUSCANY-642
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-642
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA Core
>    Affects Versions: Java-Mx
>            Reporter: Ignacio Silva-Lepe
>         Assigned To: Ignacio Silva-Lepe
>             Fix For: Java-Mx
>
>         Attachments: CompositeRefsAndSvcs.txt, CompositeRefsAndSvcs2.txt, 
> InnerComposite.patch
>
>
> Support is added to represent composite references and services (those in a 
> composite and without a binding) in the model and runtime. The 
> CompositeBuilder is updated to build a composite component that includes 
> composite references and services without bindings.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to