Package io.quarkus.infinispan.client
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:11222Then to inject the proper
RemoteCacheManager, you would need to use InfinispanClientName like indicated
below:
invalid input: '@'Inject
invalid input: '@'InfinispanClientName("site-lon")
RemoteCacheManager remoteCacheManager;
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe remote cache manager name. If no value is provided the default cache manager is assumed.
-