
|
If you were logged in you would be able to see more operations.
|
|
|
OSCache
Created: 11/Feb/06 08:19 AM
Updated: 01/Mar/07 04:31 PM
|
|
| Component/s: |
Filters
|
| Affects Version/s: |
2.2 final
|
| Fix Version/s: |
2.3
|
|
|
I'm a user of the Servlet CacheFilter, and I recently had a usecase for providing an custom EntryRefreshPolicy. I've made some changes in CacheFilter.java to make this possible. While I was at it, I slightly refactored the class instantiation of the pluggable classes (including ICacheGroupsProvider and ICacheKeyProvider) in init(FilterConfig) to reduce code duplication.
|
|
Description
|
I'm a user of the Servlet CacheFilter, and I recently had a usecase for providing an custom EntryRefreshPolicy. I've made some changes in CacheFilter.java to make this possible. While I was at it, I slightly refactored the class instantiation of the pluggable classes (including ICacheGroupsProvider and ICacheKeyProvider) in init(FilterConfig) to reduce code duplication.
|
Show » |
|
return interfaceClass.newInstance();
should be
return clazz.newInstance();