You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by co...@apache.org on 2007/07/23 15:33:01 UTC

[CONF] Apache Tuscany: SCA Java implementation.java (page edited)

SCA Java implementation.java (TUSCANY) edited by ant
      Page: http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+implementation.java
   Changes: http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=56275&originalVersion=4&revisedVersion=5






Content:
---------------------------------------------------------------------

{section:border=false}
{column:width=15%}
{include: SCA Java Subproject Menu}
{include: Java SCA Menu New}
{column}
{column:width=85%}

h3. <implementation.java>


The Tuscany Java SCA runtime supports components implemented in Java by using the <implementation.java> SCDL extension.

The Java component implementation SCDL has the following format:

{code}
   <implementation.java class="NCName" />
{code}

Where the class attribute is the fully qualified name of the Java class of the implementation.

The Java component implementtaion is one of the SCA extensions which is being formalized in the OASIS Open Composite Services Architecture with a published [specifications |http://www.oasis-opencsa.org/sca-java-annotations] document.

h4. some examples

This example shows a simple composite with a component that uses <implemantation.java>:

{code}
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
    targetNamespace="http://sample"
    xmlns:sample="http://sample"
    name="SampleComposite">

    <component name="SampleComponent">
       <implementation.java class="sample.SampleImpl"/>
    </component>
    
</composite>
{code}

{column}
{section}

---------------------------------------------------------------------
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org