Annotation Type 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:
         @Inject
         @InfinispanClientName("site-lon")
         RemoteCacheManager remoteCacheManager;
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The remote cache manager name.
    • Element Detail

      • value

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