此規則會標示來自 com.ibm.websphere.cache.DynamicCacheAccessor 類別的已淘汰方法。 會偵測到下列方法:
這些方法在 WebSphere Application Server 6.0 版中已淘汰,並可能在將來的版本移除。
若為 DynamicCacheAccessor.getCache(),請使用 DistributedMap 來儲存和管理快取中的物件。
若為 DynamicCacheAccessor.getDistributedMap(),會將基本快取用於 Servlet 快取。 不應將其用作 DistributedMap。
如需相關資訊,請參閱: