Space: Apache Tuscany Docs 2.x
(http://cwiki.apache.org/confluence/display/TUSCANYxDOCx2x)
Page: SCA Java implementation.java
(http://cwiki.apache.org/confluence/display/TUSCANYxDOCx2x/SCA+Java+implementation.java)
Added by Luciano Resende:
---------------------------------------------------------------------
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}
Change your notification preferences:
http://cwiki.apache.org/confluence/users/viewnotifications.action