@Deprecated(forRemoval=true,
since="4.0.8")
@Documented
@Retention(CLASS)
@Target(TYPE)
public @interface ExternalContracts
Deprecated, for removal: This API element is subject to removal in a future version.
Helidon inject is deprecated and will be replaced in a future version
Placed on the implementation of a service as an alternative to using a
Contract.
Use this annotation when it is impossible to place an annotation on the interface itself - for instance of the interface comes from a 3rd party library provider.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Deprecated, for removal: This API element is subject to removal in a future version.The optional set of module names where this contract is expected to reside.
-
Element Details
-
value
Class<?>[] valueDeprecated, for removal: This API element is subject to removal in a future version.The advertised contract type(s) for the service class implementation.- Returns:
- the external contract(s)
-
moduleNames
String[] moduleNamesDeprecated, for removal: This API element is subject to removal in a future version.The optional set of module names where this contract is expected to reside.- Returns:
- the optional module names
- Default:
{}
-