Annotation Type StickyClient


  • @Retention(RUNTIME)
    @Inherited
    @Target(TYPE)
    public @interface StickyClient
    Tagging annotation that tells the Service Discovery framework that this API should use the same client connection for every API call. This is required for APIs which have state associated with the client or server side of the API. Note, the client code which uses the API must still hold onto the client returned by the framework. This annotation just prevents the framework from wrapping the client in a proxy that automatically refetches the client connection for each API call.