Annotation Type ContextClient


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface ContextClient
    Annotation used to mark a dependency to an external component. The dependency could be a REST, SOAP, gRPC, etc API which is used, and the external component could be a webservice, microservice, gateway, etc. This annotation is intended to be used on a class which responsibility it is to abstract the communication to the external component. Only needed in case the dependency is not automatically detected.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name  
    • Element Detail

      • name

        String name
        Returns:
        the name to uniquely identify the external component