Annotation Type CacheStoreSessionResource


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface CacheStoreSessionResource
    Annotates a field or a setter method for injection of current CacheStoreSession instance. It can be injected into CacheStore.

    Here is how injection would typically happen:

     public class MyCacheStore implements CacheStore {
          ...
          @CacheStoreSessionResource
          private CacheStoreSession ses;
          ...
      }