Annotation Interface InfinispanClientName


@Target({METHOD,FIELD,PARAMETER,TYPE}) @Retention(RUNTIME) @Documented @Qualifier public @interface InfinispanClientName
Marker annotation to select the Infinispan client. For example, if the Infinispan connection is configured like so in application.properties:
 quarkus.infinispan-client.site-lon.hosts=localhost:11222
 
Then to inject the proper RemoteCacheManager, you would need to use InfinispanClientName like indicated below:
     invalid input: '&#64'Inject
     invalid input: '&#64'InfinispanClientName("site-lon")
     RemoteCacheManager remoteCacheManager;
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The remote cache manager name.
  • Element Details

    • value

      String value
      The remote cache manager name. If no value is provided the default cache manager is assumed.