Module io.helidon.service.registry
Package io.helidon.service.registry
Annotation Interface Service.ExternalContracts
- Enclosing class:
Service
Placed on the implementation of a service as an alternative to using a
Service.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
-
Element Details
-
value
Class<?>[] valueThe advertised contract type(s) for the service class implementation.- Returns:
- the external contract(s)
-