Annotation Interface ServiceRef
Requests a stable binding to an explicitly versioned ordinary business interface.
The host must provide discovery, authorization and the named binding policy. Annotation presence
grants no authority. Refresh never implies retry or durable deduplication of an invocation.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReturns the public contract identity.intReturns the required contract version.Returns a host-owned binding policy identifier.Returns the explicit refresh mode.
-
Element Details
-
name
-
contractId
String contractIdReturns the public contract identity.- Returns:
- explicit identity, or empty to use the requested interface binary name
- Default:
""
-
contractVersion
int contractVersionReturns the required contract version.- Returns:
- positive version, default1
- Default:
1
-
refresh
BindingRefresh refreshReturns the explicit refresh mode.- Returns:
- NEVER unless opted in
- Default:
NEVER
-
policy
String policyReturns a host-owned binding policy identifier.- Returns:
- default policy name
- Default:
"default"
-