Package io.quarkus.infinispan.client
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 inapplication.properties:quarkus.infinispan-client.site-lon.hosts=localhost:11222
Then to inject the properRemoteCacheManager, you would need to useInfinispanClientNamelike indicated below:@Inject @InfinispanClientName("site-lon") RemoteCacheManager remoteCacheManager;
-
-
Element Detail
-
value
String value
The remote cache manager name. If no value is provided the default cache manager is assumed.
-
-