← Prev in month
← Prev in thread
Next in thread →
Next in month →
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
← Prev in month
← Prev in thread
Next in thread →
Next in month →