Avoid using the deprecated DynamicCacheAccessor methods

This rule flags the deprecated methods from the com.ibm.websphere.cache.DynamicCacheAccessor class. The following methods are detected:

These methods were deprecated in WebSphere Application Server Version 6.0 and might be removed in a future release.

For DynamicCacheAccessor.getCache() , use DistributedMap to store and manage objects in the cache.

For DynamicCacheAccessor.getDistributedMap() , base cache is used for servlet caching. It should not be used as a DistributedMap.

For additional information, see: