jp.co.cybec.cb3.session
クラス RuntimeArgumentsAnalyzer

java.lang.Object
  上位を拡張 jp.co.cybec.cb3.session.RuntimeArgumentsAnalyzer

public class RuntimeArgumentsAnalyzer
extends Object

フレームワーク起動時の引数を解析するクラス。
引数を解析し、起動パラメータを取得します。

作成者:
Naoko Sugimoto

フィールドの概要
static String APP_PARAM_KEY
          起動パラメータ(任意分)のキー。
 
コンストラクタの概要
RuntimeArgumentsAnalyzer(String[] args, String... parameterKeys)
          コンストラクタ。
 
メソッドの概要
 String getReservedParameter(String key)
          起動パラメータ(予約分)を取得します。
 RuntimeParameters getRuntimeParameters()
          起動パラメータ(任意分)を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

APP_PARAM_KEY

public static final String APP_PARAM_KEY
起動パラメータ(任意分)のキー。
このキーで指定された引数は、 RuntimeParametersとしてサービスに引き渡されます。

関連項目:
定数フィールド値
コンストラクタの詳細

RuntimeArgumentsAnalyzer

public RuntimeArgumentsAnalyzer(String[] args,
                                String... parameterKeys)
コンストラクタ。

パラメータ:
args - フレームワーク起動時の引数
parameterKeys - 予約パラメータキーの配列
メソッドの詳細

getRuntimeParameters

public RuntimeParameters getRuntimeParameters()
起動パラメータ(任意分)を取得します。

戻り値:
起動パラメータ(任意分)

getReservedParameter

public String getReservedParameter(String key)
起動パラメータ(予約分)を取得します。

パラメータ:
key - 起動パラメータのキー
戻り値:
指定されたキーに該当する起動パラメータ(予約分)


Copyright © 2008 Cyber Beans Corporation. All Rights Reserved.