B.1.5:4.4 - Expose The Composite Method Interface
The candidate Method’s reusable action includes a boundary decision for each interaction:
- exposed: a caller system may rely on the interaction as part of the whole Method;
- forwarded: a caller system may address an internal submethod interaction through a declared designation or adapter;
- encapsulated: the interaction is internal and cannot be relied on from outside the whole Method.
An exposure decision contributes to Method identity whenever changing it changes the reusable action or its admissible boundary. That identity consequence does not wait for an outside party to rely on the Method.
A named caller, planner, auditor, substituting-method selection use, or assurance use instead determines when the decision must be stated or published for reuse. Name the interaction, precondition, result or preserved condition, failure route, and any adapter needed for each exposed or forwarded case.
B.1.5:4.4.1 - Composite-Method Boundary Account and Publication Form
State the boundary decisions in sentences: what a caller may request, what it must supply, what result or preserved condition it may rely on, and what stops the interaction. Name any needed adapter, order condition, bound, or assurance limit. Explain an encapsulated interaction when a plausible caller could otherwise rely on it. This can complete an internal boundary account.
When a receiver needs the published account, say which MethodDescription edition is available, to which declared audience, for which bounded use, through which expression and carrier. A.3.2 and C.2.1 identify the description; E.24.PUB supplies the publication relations and their progressive explicitness. Name a reusable boundary-account form only when its arrangement rules matter. The form, its conforming expression and the carrier retain separate identities.
For disputed availability or publication identity, recover E.24.PUB’s five participants <description edition, audience declaration, bounded-use declaration, expression, carrier>, its supporting expression and bearing relations, and the maximal continuous availability interval. If form conformance is used, the same expression must support the form-mediated claims. Publication activity is separate; identify dated publication Work only when that occurrence is asserted. Names and links retain their designation meaning.
Optional prompts for the receiving account:
- the described Method and the description edition used;
- exposed and forwarded interactions, accepted input meanings, preconditions, intended results or preserved conditions;
- required invariants, failure routes and stops;
- order or join conditions, adapters and applicable bounds that affect the receiver’s use;
- the audience and bounded use when the account is published.
Use an existing adequate account without adding a form. These presentation prompts supply no Method parts or composition facts.