You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2011/05/23 12:08:47 UTC
[jira] [Resolved] (TUSCANY-3188) Is the Warning/Error raised
correct when SCDL interface callback config doesn't match component type
dervied from component
[ https://issues.apache.org/jira/browse/TUSCANY-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws resolved TUSCANY-3188.
---------------------------------
Resolution: Fixed
I believe that this was fixed
> Is the Warning/Error raised correct when SCDL interface callback config doesn't match component type dervied from component
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3188
> URL: https://issues.apache.org/jira/browse/TUSCANY-3188
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-2.x
> Environment: All
> Reporter: Simon Laws
>
> Looking at ASM_8006 TestComposite61.composite (file is in General_Java)
> <component name="TestComposite61Component1">
> <implementation.java class="org.oasisopen.sca.test.service9Impl"/>
> <service name="Service9">
> <interface.java interface="org.oasisopen.sca.test.Service9"/>
> </service>
> <property name="serviceName" source="$serviceName"/>
> </component>
> The SCDL service description only describes a forward interface but
> the implementation describes a callback. We raise an error in this
> case.
> SEVERE: Component service interface incompatible with implementation
> service interface: Component = TestComposite61Component1 Service =
> Service9
> Is that correct and we need to get the test fixed or should we just be
> raising a warning in this case? It seems to me that if you are going
> to go to the trouble of including an interface element in the SCDL
> then it should match what the interface says (if this is true we need
> to turn the Warning that is raised for references in this case into
> Errors).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira