sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-j] Constructor selected for implementation instance creation
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: sca-j@lists.oasis-open.org
- Date: Mon, 2 Mar 2009 09:38:09 +0000
Folks,
I have a very simple view of this.
In order for a constructor parameter
to be unambiguously identified as a property or as a reference, it *MUST*
be
annotated with @Property or with @Reference.
Without this, there can be no name associated with the parameter
- and a property or a reference must
have a name.
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
From:
| C Vamsi <vamsic007@in.ibm.com>
|
To:
| sca-j@lists.oasis-open.org
|
Date:
| 27/02/2009 19:02
|
Subject:
| [sca-j] Constructor selected for implementation
instance creation |
Java C&I Spec (sca-javaci-1.1-spec-wd03.doc)
Section 5: Implementation Instance Creation
Lines 254-257:
The constructor to use is selected by the container as follows:
1. A declared constructor annotated with a @Constructor
annotation.
2. A declared constructor that unambiguously identifies
all property
and reference values.
3. A no-argument constructor.
What does the second point above mean?
Is it that
All parameters that could be properties, no two are of the same type and
for each parameter type there is one and only one SCA property
of that
type with @required=true
and
All parameters that could be references, no two are of the same interface
and for each parameter type there is one and only one SCA reference
of
that interface with @required=true ?
++Vamsi
Apache Tuscany Committer http://tuscany.apache.org
Apache Geronimo Committer and Member of PMC http://geronimo.apache.org
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
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]