tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark I. Dinges (JIRA)" <tuscany-...@ws.apache.org>
Subject [jira] Updated: (TUSCANY-1204) Support for @requires annotation and requires attribute
Date Fri, 06 Apr 2007 19:17:32 GMT

     [ https://issues.apache.org/jira/browse/TUSCANY-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark I. Dinges updated TUSCANY-1204:
------------------------------------

    Attachment: policyworkdelta.txt

svn delta of changes.

> Support for @requires annotation and requires attribute
> -------------------------------------------------------
>
>                 Key: TUSCANY-1204
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1204
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA Model
>    Affects Versions: Java-SCA-Future
>            Reporter: Mark I. Dinges
>             Fix For: Java-SCA-Future
>
>         Attachments: policyworkdelta.txt
>
>
> The follow patch is to add annotation and attribute suppot to the model. For @Requires
annotation on Service implementaion at the class level the intents will be added to the ComponentType
model object. For @Requires annotation on the Service implementation at the operation/method
level the intents are added to the Operation Model Object. For @Requires annotations on the
Service interface at the class level the intents are added to the ServiceContract model object.
For @Requires annotations on the Service interface at the operation/method level the intents
are added to the Operation model object. For "requires" attribute that is on the Service in
the scdl the intents are added to the ServiceDefinition model object. For "requires" attribute
that is on the Reference in the scdl the intents are added to the ReferenceDefinition model
object. For "requires" attribute that is on the implementation.java in the scdl the intents
are added to the Implementation model object.
> I did not want to duplicate code that existed in ServiceProcessor.java so the PolicyProcessor
class should be added after the ServiceProcessor in the implementation.scdl. 
>     <component name="implementation.PolicyProcessor">
>         <system:implementation.system class="org.apache.tuscany.core.implementation.processor.PolicyProcessor"/>
>     </component>
> PolicyJavaInterfaceProcessor will need to be added as implementation.system Not sure
of the most appropiate place to at it with changes that have been happening.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message