|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.flowengine2.log.Logger
|
+--com.infoteria.asteria.flowengine2.execute.ExecuteContext
フローの実行コンテキストを表すクラスです。
このクラスからセッションや変数などの実行時情報を取得することができます。
| コンストラクタの概要 | |
protected |
ExecuteContext(com.infoteria.asteria.flowengine2.framework.FlowWorkInfo info)
|
| メソッドの概要 | |
void |
addTransaction(Transaction t)
トランザクションを追加します。 |
void |
commitConnection(Connection con)
推奨されていません。 |
void |
debug(String m)
デバッグのログ出力。 |
void |
debugInfo(int code)
デバッグ情報のログ出力。 |
void |
debugInfo(int code,
Object o1)
デバッグ情報のログ出力。 |
void |
debugInfo(int code,
Object o1,
Object o2)
デバッグ情報のログ出力。 |
void |
debugInfo(int code,
Object o1,
Object o2,
Object o3)
デバッグ情報のログ出力。 |
void |
debugInfo(int code,
Object o,
Throwable t)
デバッグ情報のログ出力。 |
void |
debugInfo(int code,
Throwable t)
デバッグ情報のログ出力。 |
void |
debugInfo(String m)
デバッグ情報のログ出力。 |
void |
debugInfo(String m,
Throwable t)
デバッグ情報のログ出力。 |
void |
debugInfo(Throwable t)
デバッグ情報のログ出力。 |
void |
error(String m)
エラーのログ出力。 |
void |
fatal(String m)
致命的エラーのログ出力。 |
String |
getBaseDirectory()
実行中のプロジェクトのベースディレクトリを返します。 |
Connection |
getConnection(ConnectionProperty property)
ConnectionPropertyの設定値に対応するConnectionを取得します。 |
ConnectionTransaction |
getConnectionTransaction(ConnectionProperty property)
ConnectionPropertyの設定値に対応するConnectionのTransactionを取得します。 |
FlowException |
getCurrentException()
このフローで最後に発生したExceptionを取得します。 |
ExternalVariables |
getExternalVariables(String name)
名前を指定して外部変数を取得します。 |
Map |
getExternalVariablesMap()
外部変数のマップを取得します。 |
String |
getFlowName()
実行中のフローのフロー名を返します。 |
VariableList |
getFlowVariables()
フロー変数を取得します。 |
Map |
getIndependentMap()
リクエスト実行中保持されるMapを返します。 |
ExecuteContext |
getParentContext()
フローがサブフロー、またはExceptionフローとして実行されている場合に親フローのExecuteContextを返します。 |
FlowException |
getParentException()
フローがExceptionフローとして実行されている場合に親フローで発生したExceptionを取得します。 |
String |
getProjectName()
実行中のフローのプロジェクト名を返します。 |
User |
getProjectOwner()
実行中のフローのプロジェクトオーナーを返します。 |
VariableList |
getProjectVariables()
プロジェクト変数を取得します。 |
VariableList |
getSessionVariables()
セッション変数を取得します。 |
SystemVariables |
getSystemVariables()
システム変数を取得します。 |
User |
getUser()
実行ユーザを返します。 |
void |
info(String m)
情報のログ出力。 |
boolean |
isDebugInfoEnabled()
デバッグ情報の出力が有効な場合にtrueを返します。 |
boolean |
isOriginalContext()
フローがサブフローまたはExceptionフローとして実行されている場合、falseを返します。 |
boolean |
isTransaction()
このフローがトランザクション化されている場合はtrueを返します。 |
void |
rollbackConnection(Connection con)
推奨されていません。 |
void |
warn(String m)
警告のログ出力。 |
| クラス com.infoteria.asteria.flowengine2.log.Logger から継承したメソッド |
debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, info, info, info, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn, warn, warn, warn, warn |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース com.infoteria.asteria.log.ILogger から継承したメソッド |
debug, debug, debug, debug, debug, error, error, error, error, error, fatal, fatal, fatal, fatal, fatal, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn, warn |
| コンストラクタの詳細 |
protected ExecuteContext(com.infoteria.asteria.flowengine2.framework.FlowWorkInfo info)
| メソッドの詳細 |
public void debugInfo(String m)
com.infoteria.asteria.connection.ConnectionContext 内の debugInfopublic void debugInfo(int code)
com.infoteria.asteria.connection.ConnectionContext 内の debugInfo
public void debugInfo(int code,
Object o1)
com.infoteria.asteria.connection.ConnectionContext 内の debugInfo
public void debugInfo(int code,
Object o1,
Object o2)
public void debugInfo(int code,
Object o1,
Object o2,
Object o3)
public void debugInfo(Throwable t)
public void debugInfo(String m,
Throwable t)
com.infoteria.asteria.connection.ConnectionContext 内の debugInfo
public void debugInfo(int code,
Throwable t)
com.infoteria.asteria.connection.ConnectionContext 内の debugInfo
public void debugInfo(int code,
Object o,
Throwable t)
com.infoteria.asteria.connection.ConnectionContext 内の debugInfopublic boolean isDebugInfoEnabled()
com.infoteria.asteria.connection.ConnectionContext 内の isDebugInfoEnabledpublic void info(String m)
com.infoteria.asteria.log.ILogger 内の infoLogger 内の infopublic void warn(String m)
com.infoteria.asteria.log.ILogger 内の warnLogger 内の warnpublic void error(String m)
com.infoteria.asteria.log.ILogger 内の errorLogger 内の errorpublic void debug(String m)
com.infoteria.asteria.log.ILogger 内の debugLogger 内の debugpublic void fatal(String m)
com.infoteria.asteria.log.ILogger 内の fatalLogger 内の fatalpublic boolean isTransaction()
public String getProjectName()
public String getBaseDirectory()
public User getProjectOwner()
public User getUser()
public String getFlowName()
public ExecuteContext getParentContext()
public Connection getConnection(ConnectionProperty property)
throws FlowException
public ConnectionTransaction getConnectionTransaction(ConnectionProperty property)
public void commitConnection(Connection con)
throws FlowException
public void rollbackConnection(Connection con)
throws FlowException
public VariableList getProjectVariables()
public VariableList getFlowVariables()
public VariableList getSessionVariables()
public Map getExternalVariablesMap()
public ExternalVariables getExternalVariables(String name)
public boolean isOriginalContext()
public SystemVariables getSystemVariables()
public FlowException getParentException()
public FlowException getCurrentException()
public Map getIndependentMap()
public void addTransaction(Transaction t)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||