commercetools / commercetools-paypal-plus-integration

Integration between commercetools API and PayPal Plus API
Apache License 2.0
7 stars 1 forks source link

#118: implement Sphere client caching using self-autowired Spring bean #119

Closed andrii-kovalenko-ct closed 6 years ago

andrii-kovalenko-ct commented 6 years ago

Addressing #118:

Yesterday i discovered cool Spring feature (since Spring 4.3) - self autowiring for beans).

This allows to avoid those "crutches" i used for SphereClient caching factory to allow re-using calls in overloaded methods.

Review notes:

andrii-kovalenko-ct commented 6 years ago

closes #118