Stotra
Stotra

Reputation: 103

How does Spring's @Cacheble annotation work?

I was looking into annotations but wasn't able to grasp how annotations actually work. So I tried to break my problem as follows:

  1. Lets suppose I have a spring boot project that is used as a dependency in various applications.
  2. I annotate one of its methods with @Cacheble called Cached() and generate its jar.
  3. I create a new project which includes the above project as dependency and uses the method Cached() and itself have various caches for its own caching.
  4. Further, I enable LTW in this project.

Now, how would the whole annotation processing happen in this case?

Thanks, Stotra

Upvotes: 0

Views: 115

Answers (0)

Related Questions