|
intra-mart(R) 5.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.framework.base.session.DefaultSessionPropertyHandler
セッションに関連するデフォルトのプロパティハンドラです。 プロパティの設定内容は以下のとおりです。
キー | 内容 |
---|---|
factory.name | SessionFactory のクラス名 |
object.param | リクエストに渡すセッションIDのパラメータ名 |
error.page.path | セッションエラー(セッションタイムアウト等)のときに表示するページのパス |
object.key | リクエストの属性にSessionObject を保存する時のキー |
reserved.user.key | SessionObject の属性に設定されているユーザIDのキー |
reserved.group.key | SessionObject の属性に設定されているログイングループIDのキー |
フィールドの概要 | |
static String |
DEFAULT_BUNDLE_NAME
デフォルトのリソースバンドル名 |
static String |
DEFAULT_BUNDLE_NAME_PARAM
リソースバンドル名のパラメータ名 |
コンストラクタの概要 | |
DefaultSessionPropertyHandler()
DefaultSessionPropertyHandlerを新規に生成します。 |
メソッドの概要 | |
String |
getLoginGroupIDKey()
セッションに登録されているログイングループIDのキーを取得します。 |
String |
getLoginUserIDKey()
セッションに登録されているログインユーザIDのキーを取得します。 |
String |
getSessionErrorPagePath()
セッションエラーページのパスを取得します。 |
String |
getSessionFactoryName()
推奨されていません。 セッションとしてはHttpSessionを直接利用するようにしてください。 |
String |
getSessionObjectKey()
推奨されていません。 HttpSessionを直接取得するようにしてください。 |
String |
getSessionParameter()
推奨されていません。 HttpSessionを直接使用する場合、このメソッドは不要になります。 |
void |
init(PropertyParam[] params)
プロパティハンドラを初期化します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final String DEFAULT_BUNDLE_NAME
public static final String DEFAULT_BUNDLE_NAME_PARAM
コンストラクタの詳細 |
public DefaultSessionPropertyHandler()
メソッドの詳細 |
public void init(PropertyParam[] params) throws PropertyHandlerException
PropertyHandler
内の init
params
- 初期パラメータ
PropertyHandlerException
- プロパティハンドラの初期化時に例外が発生public String getSessionFactoryName() throws SessionPropertyException
SessionPropertyHandler
内の getSessionFactoryName
SessionPropertyException
- セッションファクトリのクラス名の取得時に例外が発生public String getSessionParameter() throws SessionPropertyException
SessionPropertyHandler
内の getSessionParameter
SessionPropertyException
- セッションIDのパラメータ名の取得時に例外が発生public String getSessionObjectKey() throws SessionPropertyException
SessionPropertyHandler
内の getSessionObjectKey
SessionPropertyException
- セッションオブジェクトのキーの取得時に例外が発生public String getLoginUserIDKey() throws SessionPropertyException
SessionPropertyHandler
内の getLoginUserIDKey
SessionPropertyException
- 属性名の取得時に例外が発生public String getLoginGroupIDKey() throws SessionPropertyException
SessionPropertyHandler
内の getLoginGroupIDKey
SessionPropertyException
- 属性名の取得時に例外が発生public String getSessionErrorPagePath() throws SessionPropertyException
SessionPropertyHandler
内の getSessionErrorPagePath
SessionPropertyException
- セッションエラーページのパスの取得時に例外が発生
|
intra-mart(R) 5.0 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |