WebSphere Application Server Version 6.1 Feature Pack for Web Services   
             オペレーティング・システム: AIX , HP-UX, i5/OS, Linux, Solaris, Windows, Windows Vista, z/OS

             目次と検索結果のパーソナライズ化

AccessIntent インターフェース

AccessIntent インターフェースは、Bean 管理パーシスタンス (BMP) エンティティー Bean で使用可能です。

BMP エンティティー Bean は AccessIntent インターフェースのインスタンスを取得し、使用することができます。 詳しくは、AccessIntent API の使用 を参照してください。

AccessIntent インターフェース

package com.ibm.websphere.appprofile.accessintent;

/** 
* This interface defines the essential access intents
* available at run time.
*/ 
public interface AccessIntent {

/** 
* Returns the concurrency control intent, which indicates
* the application prefers either pessimistic or optimistic
* concurrency control when accessing the current component
* in the context of the current transaction.
*/ 
public int getConcurrencyControl();
public final int CONCURRENCY_CONTROL_PESSIMISTIC = 1;
public final int CONCURRENCY_CONTROL_OPTIMISTIC = 2;

/** 
* Returns access type intent, which indicates the application
* intends either update or read access of the current component
* in the context of the current transaction.
*/ 
public int getAccessType();
public final int ACCESS_TYPE_UPDATE= 1;
public final int ACCESS_TYPE_READ = 2;

/** 
* Returns an integer value that indicates that the run time should
* assume that there will be no collision on retrieved rows.
*/ 
public int getPessimisticUpdateLockHint();public final static int PESSIMISTIC_UPDATE_LOCK_HINT_NOCOLLISION = 1;public final static int PESSIMISTIC_UPDATE_LOCK_HINT_WEAKEST_LOCK_AT_LOAD = 2;public final static int PESSIMISTIC_UPDATE_LOCK_HINT_NONE = 3;
public final static int PESSIMISTIC_UPDATE_LOCK_HINT_EXCLUSIVE = 4;

/* 
* Returns an integer value that indicates that the run time should
* assume that there will be collisions on retrieved rows.
*/ 
public int getPessimisticUpdateLockHint();public final static int PESSIMISTIC_UPDATE_LOCK_HINT_NOCOLLISION = 1;public final static int PESSIMISTIC_UPDATE_LOCK_HINT_WEAKEST_LOCK_AT_LOAD = 2;public final static int PESSIMISTIC_UPDATE_LOCK_HINT_NONE = 3;
public final static int PESSIMISTIC_UPDATE_LOCK_HINT_EXCLUSIVE = 4;
 

/** 
* Returns the collection access intent, which indicates the
* application intends to access the objects returned by the
* currently executing finder in either serial or random fashion.
*/ 
public int getCollectionAccess();
public final int COLLECTION_ACCESS_RANDOM = 1;
public final int COLLECTION_ACCESS_SERIAL = 2;

/** 
* Returns the collection scope, which indicates the maximum
* lifespan of a lazy collection.
*/ 
public int getCollectionScope();
public final int COLLECTION_SCOPE_TRANSACTION = 1;
public final int COLLECTION_SCOPE_ACTIVITYSESSION = 2;
public final int COLLECTION_SCOPE_TIMEOUT = 3;

/** 
* Returns the timeout value in seconds when collectionScope is Timeout.
*/ 
public int getCollectionTimeout();

/** 
* Returns the number of elements the application requests be contained
* in each segment of the element collection returned by the currently
* executing finder.
*/ 
public int getCollectionIncrement();

/** 
* Returns the ReadAheadHint requested by the application for the currently
* executing finder.
*/ 
public ReadAheadHint getReadAheadHint();

/** 
* Returns the number of elements the application requests be contained in
* each segment of a query made on a database.
*/ 
public int getResourceManagerPreFetchIncrement();

} 




関連概念
[z/OS] アクセス・インテント・サービス
関連タスク
アクセス・インテント・ポリシー
Bean へのアクセス・インテント・ポリシーの適用
アセンブリー・ツールによる読み取り/読み取り整合性検査の構成
メソッドへのアクセス・インテント・ポリシーの適用
関連資料
アクセス・インテントの例外
アクセス・インテントに関するトラブルシューティングのヒント


ご利用条件 | フィードバック

最終更新: Jan 21, 2008 4:10:06 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/rejb_axiapi.html