[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [NEW ISSUE] <interface.java/> element not fully described in Java CAAspecification
<interface.java
interface="NCName"
callbackInterface="NCName"?/>
The interface.java element has the following
attributes:
<interface.java interface="services.stockquote.StockQuoteService"
callbackInterface="services.stockquote.StockQuoteServiceCallback"/>
Here, the Java interface is defined
in the Java class file ./services/stockquote/StockQuoteService.class, where
the root directory is defined by the
contribution in which the interface exists. Similarly, the callback
interface
is defined in the Java class file ./services/stockquote/StockQuoteServiceCallback.class.
Note that the Java interface class identified
by the @interface attribute can contain a Java @Callback annotation
which identifies a callback interface.
If this is the case, then it is not necessary to provide the @callbackInterface
attribute. However, if the Java
interface class identified by the @interface attribute does contain a Java
@Callback
annotation, then the Java interface
class identified by the @callbackInterface attribute MUST be the same interface
class. [JCA30003]
For the Java interface type system,
arguments and return values of the service
methods are described using
Java classes or simple Java types. It
is recommended that the Java Classes used conform to the requirements of
either
JAXB [JAXB] or of Service Data Objects
[SDO] because of their integration with XML technologies.
------------------------------------------
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]