A @Service annotation with no attributes causes exception
---------------------------------------------------------

                 Key: TUSCANY-2191
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2191
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-Next
            Reporter: Kevin Williams


Line 1635 of the Java Annotations spec says:

   A @Service annotation with no attributes is meaningless, it is the same as 
not having the annotation there at all.

However, the presence of the the annotation without attributes results in the 
following:

org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.contribution.service.ContributionResolveException: 
org.apache.tuscany.sca.implementation.java.introspect.impl.IllegalServiceDefinitionException:
 No interfaces specified
        at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
        at 
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to