此规则会标记 com.ibm.websphere.cache.DynamicCacheAccessor 类中不推荐的方法。 检测到下列方法:
这些方法在 WebSphere Application Server V6.0 中已不推荐使用,并且可能会在将来发行版中移除。
对于 DynamicCacheAccessor.getCache(),使用 DistributedMap 来存储和管理高速缓存中的对象。
对于 DynamicCacheAccessor.getDistributedMap(),基本高速缓存将用于 Servlet 高速缓存。 不应将它用作 DistributedMap。
有关更多信息,请参阅: