リファレンス: OC4J Web Object Cacheタグ・ライブラリ

JSP用のWeb Object Cacheのタグ・ライブラリ

ライブラリ構文

<%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jwcache.tld" prefix="jwcache" %>

構文の使用方法: 

イタリック・フォントで記載されているタグ属性には、ランタイム式を使用します。大カッコ([])内のタグ属性は、必須ではありません。タグの本体を指定する場合は、そのタグで受入れ可能なタイプのコンテンツ(JSPコンテンツ)で指定します。

OJSP Cacheタグ

名前構文
cache: Web Object Cacheで文字ベースのデータをキャッシュします。 <jwcache:cache
      [policy]
      [ignoreCache]
      [invalidateCache]
      [scope]
      [autoType]
      [selectedParam]
      [selectedCookies]
      [reusableTimeStamp]
      [reusableDeltaTime]
      [name]
      [expirationType]
      [TTL]
      [timeInaDay]
      [dayInaWeek]
      [dayInaMonth]
      [writeThrough]
      [printCacheBlockInfo]
      [printCachePolicy]
      [cacheRepositoryName]
      [reportException] />

cacheInclude: インクルード・ページ(文字ベース)をキャッシュします。 <jwcache:cacheInclude
      policy
      page
      [printCacheBlockInfo]
      [reportException] />

cacheXMLObj: Web Object CacheでXML DOMオブジェクトをキャッシュします。 <jwcache:cacheXMLObj
      [policy]
      [ignoreCache]
      [invalidateCache]
      [scope]
      [autoType]
      [selectedParam]
      [selectedCookies]
      [reusableTimeStamp]
      [reusableDeltaTime]
      [name]
      [expirationType]
      [TTL]
      [timeInaDay]
      [dayInaWeek]
      [dayInaMonth]
      [writeThrough]
      [printCacheBlockInfo]
      [printCachePolicy]
      [cacheRepositoryName]
      [fromXMLObjName]
      [toXMLObjName]
      [toWriter]
      [reportException] />

invalidateCache: キャッシュされたブロックを失効化します。 <jwcache:invalidateCache
      [policy]
      [ignoreCache]
      [scope]
      [autoType]
      [selectedParam]
      [selectedCookies]
      [name]
      [invalidateNameLike]
      [page]
      [autoInvalidateLevel]
      [cacheRepositoryName]
      [reportException] />

useCacheObj: Web Object Cacheでシリアライズ可能なJavaオブジェクトをキャッシュします。 <jwcache:useCacheObj
      [policy]
      [ignoreCache]
      [invalidateCache]
      [cacheScope]
      [autoType]
      [selectedParam]
      [selectedCookies]
      [reusableTimeStamp]
      [reusableDeltaTime]
      [name]
      [expirationType]
      [TTL]
      [timeInaDay]
      [dayInaWeek]
      [dayInaMonth]
      [writeThrough]
      [printCacheBlockInfo]
      [printCachePolicy]
      [cacheRepositoryName]
      [reportException]
      id
      type />