New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPR-16295 - Programmatic creation of caching proxies using CacheProxy… #1624

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@jxblum
Member

jxblum commented Dec 12, 2017

…FactoryBean does not work.

This changes the o.s.cache.interceptor.CacheProxyFactoryBean to implement the SmartInitializingSingleton and BeanFactoryAware interfaces, which delegate to the internal CacheInterceptor in order to appropraiately configure the interceptor to enable the creation of cache proxies programmatically.

Resolves SPR-16295

SPR-16295 - Programmatic creation of caching proxies using CacheProxy…
…FactoryBean does not work.

This changes the o.s.cache.interceptor.CacheProxyFactoryBean to implement
the SmartInitializingSingleton and BeanFactoryAware interfaces, which delegate to
the internal CacheInterceptor in order to appropraiately configure the interceptor
to enable the creation of cache proxies programmatically.

Resolves PR #1624.
@jhoeller

This comment has been minimized.

Show comment
Hide comment
@jhoeller

jhoeller Jan 14, 2018

Contributor

As per my comment on SPR-16295, I went with a streamlined variant instead which I also intend to backport to 4.3.14.

Contributor

jhoeller commented Jan 14, 2018

As per my comment on SPR-16295, I went with a streamlined variant instead which I also intend to backport to 4.3.14.

@jhoeller jhoeller closed this Jan 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment