Solutionunvalidated

You can also use a static field to maintain the cached object. — Separate methods can be exposed to client. Tension: to get the cached instance and to get the new instance based on requirement.

504f84b6-b36c-486d-964b-4e19a5ac59b9

You can also use a static field to maintain the cached object. — Separate methods can be exposed to client. Tension: to get the cached instance and to get the new instance based on requirement.