[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [sca-j] [NEW ISSUE] Missing Normative statement relating to getServiceReference() method - [JAVA-158]
Hi, I have raised this new issue as JAVA-158. See: http://www.osoa.org/jira/browse/JAVA-158 Thanks, Mark Mark Combellack| Software Developer| Avaya | From:
Mike Edwards [mailto:mike_edwards@uk.ibm.com]
getServiceReference(Class<B>
businessInterface, String referenceName) –
Returns a ServiceReference defined by the current component. This method MUST
throw an IllegalArgumentException if the reference has multiplicity greater
than one. I
also note that the description for this method does not describe other error
cases that should be covered.
getServiceReference(Class<B>
businessInterface, String referenceName) –
Returns a ServiceReference defined by the current component. businessInterface - the
interface class of the reference referenceName - the name
of the reference The
getServiceReference method MUST throw an IllegalArgumentException if the
reference named by the referenceName parameter has multiplicity greater than
one. [JCA80004] The
getServiceReference method MUST throw an IllegalArgumentException if the
reference named by the referenceName parameter does not have an interface of
the type defined by the businessInterface parameter. [JCA80005] The
getServiceReference method MUST return null if the component does not have a
reference with the name provided in the referenceName parameter. [JCA80006]
Unless stated otherwise above:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]