[jira] [Commented] (TUSCANY-4029) Binding object inadvertently shared across Endpoint and EndpointReference causes errors

2012-03-21 Thread Raymond Feng (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13235027#comment-13235027
 ] 

Raymond Feng commented on TUSCANY-4029:
---

Hi, are you affected by the fact that the reference gets the same instance of 
binding from the service side?

This change breaks the case where we use @target in the reference element to 
wire components using non-SCA bindings. For example, the RESTBindingInvoker 
uses the binding.uri to find out the target address. Since now it's a clone, 
the value won't be updated when the service binding set the deployed URI.

 Binding object inadvertently shared across Endpoint and EndpointReference 
 causes errors
 ---

 Key: TUSCANY-4029
 URL: https://issues.apache.org/jira/browse/TUSCANY-4029
 Project: Tuscany
  Issue Type: Bug
Reporter: ant elder

 The Binding object stored in the EndpointReference is the same object as 
 stored in the Endpoint which can cause obscure errors when setting attributes 
 on the service also effects the reference and vica versa. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TUSCANY-3924) Inherited fields in service impl classes are treated as Properties

2012-02-08 Thread Raymond Feng (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13203979#comment-13203979
 ] 

Raymond Feng commented on TUSCANY-3924:
---

The changes seem to cause a regression where the base class has SCA annotated 
fields as references or properties.

 Inherited fields in service impl classes are treated as Properties
 --

 Key: TUSCANY-3924
 URL: https://issues.apache.org/jira/browse/TUSCANY-3924
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Assembly Model
Affects Versions: Java-SCA-2.x
Reporter: Vijai Kalathur
Assignee: Simon Laws
 Fix For: Java-SCA-2.x


 In the scenario where the Service impl class extends a class which has no SCA 
 annotations in it, protected fields in the base class are interpreted like 
 Properties.
 Ideally, only the fields in the impl class should be introspected for 
 References/Properties.  The fields in the base class should not be 
 interpreted as References/Properties if there are no SCA annotations. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira