sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] Need to have a Name parameter on the @Service annotation
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: "OASIS Java" <sca-j@lists.oasis-open.org>
- Date: Fri, 21 Nov 2008 12:49:28 +0000
Raiser:
Mike Edwards
Target:
Java CAA spec - sca-javacaa-1.1-spec-cd01.doc
Description:
In the current specification, the name
of a service is fixed by the name of the interface which it implements.
This is very inflexible. It is
desirable to permit the programmer to choose a name for a service which
is
not related to the interface class which
it uses.
Proposal:
Add a new optional attribute to the
@Service annotation called names, which is an array of Strings.
If present, names must contain one String
for each interface contained in the interfaces
attribute of the @Service annotation
- with the sequence of names being the same as
the sequence of interfaces. The
string contained in names is used as the name of the SCA service.
The following is a marked up version
of section 8.18 of the Java CAA specification which forms the
normative text of this proposal:
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
sca-javacaa-1.1-spec-cd01_ServiceName.doc
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]