[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: NEW ISSUE: Incorrect generated service name
RAISER : Michael
Rowley TARGET: SCA J Component
Implementation Specification (sca-javaci-draft-20070926) TYPE : Editorial. (We should be
able to resolve it immediately after opening it). DESCRIPTION : In the following snippet, the generated
service name should be “HelloServiceImpl” not “HelloService”:
This is from the spec starting at line 85: @Service(HelloServiceImpl.class) public class HelloServiceImpl implements AnotherInterface
{ public String hello(String message)
{ ... } … } In the above example, HelloWorldServiceImpl offers one
service as defined by the public methods on the implementation class. The
interface AnotherInterface in this case does not specify a service offered by
the component. The following is an XML representation of the introspected
component type: <?xml version="1.0" encoding="ASCII"?> <componentType
xmlns="http://www.osoa.org/xmlns/sca/0.9"> <service name="HelloService"> <interface.java interface="services.hello.HelloServiceImpl"/> </service> </componentType> PROPOSAL: Change “HelloService” to “HelloServiceImpl”. Michael |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]