[MGNLCACHE-74] Implement a javax.inject.Provider for CacheFactory Created: 09/Sep/14  Updated: 23/Jun/15  Resolved: 19/Jun/15

Status: Closed
Project: Cache Modules
Component/s: None
Affects Version/s: None
Fix Version/s: 5.4

Type: Improvement Priority: Neutral
Reporter: Magnolia International Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MAGNOLIA-6258 Use new cache module artifactId Closed
is causing MGNLADVCACHE-53 Adjust to changes by MGNLCACHE-74 Closed
relation
is related to MGNLCACHE-69 Implement javax.inject.Provider which... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

To avoid client code injecting CacheModule and getting CacheFactory from there, one could simply @Inject CacheFactory



 Comments   
Comment by Roman Kovařík [ 08/Jun/15 ]

Reopened:

  1. Deprecate info.magnolia.module.cache.CacheModule#getCacheFactory.
  2. Replace usage of 1.
Comment by Roman Kovařík [ 15/Jun/15 ]

Resolved:

  1. Not deprecated because CacheProviderFactory uses it and there are couple of places where also other methods from CacheModule are used and injecting both provider and factory doesn't make much sense.
  2. Done.
Comment by Roman Kovařík [ 19/Jun/15 ]

Reopened: cyclic dependency between CacheModule -> CacheFactoryProvider

Generated at Sun Feb 11 23:51:56 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.