|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectwisdom.core.CoreObject
wisdom.core.application.RuntimeContext
アプリケーションの実行中に作成されたオブジェクト、wisdomx.core.applicationパッケージ内の実装クラスを取得するためのクラス
おもに転送後のJSP内でwisdomで作成されたオブジェクトに対してアクセスするための静的メソッドを集めたクラスです。
コンストラクタの概要 | |
RuntimeContext()
|
メソッドの概要 | |
static java.lang.String |
getContextPath(javax.servlet.http.HttpServletRequest req)
実行中のサーブレット・コンテキストパスを取得します。 |
static IRequestParser |
getRequestParser(javax.servlet.http.HttpServletRequest req)
forwardされたJSPで、 IRequestParser のインスタンスを取得します。 |
static IRequestParser |
getRequestParserWithSessionCheck(javax.servlet.http.HttpServletRequest req)
forwardされたJSPで、 IRequestParser のインスタンスを取得します。 |
static IStringValidator |
getStringValidator()
IStringValidator のインスタンスを取得します。 |
static IUserSession |
getUserSession(javax.servlet.http.HttpServletRequest req)
forwardされたJSPで、 IUserSession のインスタンスを取得します。 |
クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public RuntimeContext()
メソッドの詳細 |
public static IRequestParser getRequestParserWithSessionCheck(javax.servlet.http.HttpServletRequest req) throws ParameterNotFoundException, SessionTimeOutedException
IRequestParser
のインスタンスを取得します。RunTimeServlet
の実行中に生成されたIRequestParser
のインスタンスを取得します。
したがって、RunTimeServlet
の実行後以外のJSPでこのメソッドを実行するとParameterNotFoundExceptionが
送出されます。
req
- HttpServletRequestのインスタンス
ParameterNotFoundException
SessionTimeOutedException
public static IRequestParser getRequestParser(javax.servlet.http.HttpServletRequest req) throws ParameterNotFoundException
IRequestParser
のインスタンスを取得します。RunTimeServlet
の実行中に生成されたIRequestParser
のインスタンスを取得します。
したがって、RunTimeServlet
の実行後以外のJSPでこのメソッドを実行するとParameterNotFoundExceptionが
送出されます。
req
- HttpServletRequestのインスタンス
ParameterNotFoundException
public static IUserSession getUserSession(javax.servlet.http.HttpServletRequest req) throws SessionTimeOutedException
IUserSession
のインスタンスを取得します。RunTimeServlet
の実行中に生成されたIUserSession
のインスタンスを取得します。
req
- HttpServletRequestのインスタンス
タイムアウト、ログインがされていない場合。
SessionTimeOutedException
public static java.lang.String getContextPath(javax.servlet.http.HttpServletRequest req)
req
-
public static IStringValidator getStringValidator()
IStringValidator
のインスタンスを取得します。
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |