Package org.apache.ignite.resources
Annotation Type CacheStoreSessionResource
-
@Documented @Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface CacheStoreSessionResource
Annotates a field or a setter method for injection of currentCacheStoreSession
instance. It can be injected intoCacheStore
.Here is how injection would typically happen:
public class MyCacheStore implements CacheStore { ... @CacheStoreSessionResource private CacheStoreSession ses; ... }