|
|||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||
public interface ServiceCycle
サービスのライフサイクルオブジェクト。HTTPリクエストの期間、 サービスのコンテキストとなる。
| フィールドの概要 | |
|---|---|
static java.lang.String |
SCOPE_APPLICATION
アプリケーションレベルスコープ。 |
static java.lang.String |
SCOPE_PAGE
ページレベルスコープ。 |
static java.lang.String |
SCOPE_REQUEST
リクエストレベルスコープ。 |
static java.lang.String |
SCOPE_SESSION
セッションレベルスコープ。 |
| インタフェース org.seasar.mayaa.ParameterAware から継承されたフィールド |
|---|
IS_SECURE_WEB |
| メソッドの概要 | |
|---|---|
void |
error(int errorCode)
エラーレスポンスを返す。 |
void |
error(int errorCode,
java.lang.String message)
メッセージありのエラーレスポンスを返す。 |
void |
forward(java.lang.String forwardPath)
フォワードを行う。 |
ApplicationScope |
getApplicationScope()
アプリケーションスコープオブジェクトの取得。 |
AttributeScope |
getAttributeScope(java.lang.String scopeName)
指定スコープを取得する。 |
java.lang.Throwable |
getHandledError()
エラーハンドル時に、発生した例外情報を参照する。 |
NodeTreeWalker |
getInjectedNode()
現在処理中のインジェクションされたノード情報の取得。 |
NodeTreeWalker |
getOriginalNode()
現在処理中のテンプレート上ノード情報の取得。 |
AttributeScope |
getPageScope()
「page」スコープオブジェクトの取得。 |
ProcessorTreeWalker |
getProcessor()
現在処理中のプロセッサの取得。 |
RequestScope |
getRequestScope()
リクエストオブジェクトの取得。 |
Response |
getResponse()
レスポンスオブジェクトの取得。 |
SessionScope |
getSessionScope()
セッションの取得。 |
boolean |
hasAttributeScope(java.lang.String scopeName)
指定スコープを保持しているかをテストする。 |
boolean |
isDebugMode()
デバッグモードかどうかを返す。 |
java.util.Iterator |
iterateAttributeScope()
スコープをイテレートする。 |
void |
load(java.lang.String systemID)
カレントのページスコープにてスクリプトを読み込み、実行する。 |
void |
load(java.lang.String systemID,
java.lang.String encoding)
カレントのページスコープにてスクリプトを読み込み、実行する。 |
void |
redirect(java.lang.String url)
リダイレクトを行う。 |
void |
setHandledError(java.lang.Throwable t)
エラーハンドル時に参照する、発生した例外情報の取得。 |
void |
setInjectedNode(NodeTreeWalker node)
現在処理中のインジェクションされたノード情報の設定。 |
void |
setOriginalNode(NodeTreeWalker node)
現在処理中のテンプレート上ノード情報を設定する。 |
void |
setPageScope(AttributeScope page)
「page」スコープオブジェクトの設定。 |
void |
setProcessor(ProcessorTreeWalker processor)
現在処理中のプロセッサの設定。 |
void |
throwJava(java.lang.Throwable t)
例外をthrow。 |
| インタフェース org.seasar.mayaa.ParameterAware から継承されたメソッド |
|---|
getParameter, iterateParameterNames, setParameter |
| インタフェース org.seasar.mayaa.PositionAware から継承されたメソッド |
|---|
getLineNumber, getSystemID, isOnTemplate, setLineNumber, setOnTemplate, setSystemID |
| フィールドの詳細 |
|---|
static final java.lang.String SCOPE_APPLICATION
static final java.lang.String SCOPE_SESSION
static final java.lang.String SCOPE_REQUEST
static final java.lang.String SCOPE_PAGE
| メソッドの詳細 |
|---|
void forward(java.lang.String forwardPath)
forwardPath - パス文字列。void redirect(java.lang.String url)
url - リダイレクトを行うURL文字列。void error(int errorCode)
errorCode - エラーコード。
void error(int errorCode,
java.lang.String message)
errorCode - エラーコード。message - エラーメッセージ。void load(java.lang.String systemID)
systemID - スクリプトソースのSystemID。
void load(java.lang.String systemID,
java.lang.String encoding)
systemID - スクリプトソースのSystemID。encoding - ソースエンコーディング。
void throwJava(java.lang.Throwable t)
throws java.lang.Throwable
t - 投げる例外。
java.lang.ThrowableApplicationScope getApplicationScope()
RequestScope getRequestScope()
SessionScope getSessionScope()
Response getResponse()
void setPageScope(AttributeScope page)
page - 「page」スコープ。AttributeScope getPageScope()
boolean hasAttributeScope(java.lang.String scopeName)
scopeName - 指定スコープ名。
AttributeScope getAttributeScope(java.lang.String scopeName)
scopeName - 指定スコープ名。
java.util.Iterator iterateAttributeScope()
void setOriginalNode(NodeTreeWalker node)
node - テンプレートノード。NodeTreeWalker getOriginalNode()
void setInjectedNode(NodeTreeWalker node)
node - インジェクトされたノード。NodeTreeWalker getInjectedNode()
void setProcessor(ProcessorTreeWalker processor)
processor - 処理中のプロセッサ。ProcessorTreeWalker getProcessor()
void setHandledError(java.lang.Throwable t)
t - 発生した例外。java.lang.Throwable getHandledError()
boolean isDebugMode()
true、そうでなければfalse。
|
|||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||