|
Nautica Workflow | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjp.co.argo21.nautica.workflow.ta.AbstractToolAgent
ツールエージェントの抽象クラス。 ツールエージェントハンドル(=実行ID)の取得、 アプリケーション実行テーブルへのレコード追加、 キューへの実行情報の送信、 プロセスの管理 を行う。
| フィールドの概要 | |
protected org.apache.log4j.Logger |
log
|
protected java.lang.String |
passwd
パスワード |
protected int |
retryCount
|
protected java.lang.String |
session
セッションID |
static java.lang.String |
TOOLAGENT_PATH
ツールエージェントパス |
protected MessageTransporter |
tp
|
protected java.lang.String |
userId
ユーザID |
| コンストラクタの概要 | |
AbstractToolAgent()
ツールエージェントオブジェクトを生成する。 |
|
| メソッドの概要 | |
protected abstract void |
checkApplicationDefined(java.lang.String appName)
アプリケーションが定義されているかどうかチェックする。 |
protected java.lang.String |
connect()
ワークフローエンジンと接続する。 |
protected void |
disconnect(java.lang.String session)
ワークフローエンジンから切断する。 |
protected abstract AppExecutionInfo |
getExecInfo(java.lang.String appName,
java.lang.String wid,
int handler,
Attribute[] attrList)
キューに送信するアプリケーション実行情報を取得する。 |
protected abstract java.lang.String |
getQueueName()
アプリケーション実行情報を送信するキュー名を取得する。 |
protected abstract java.lang.String |
getToolAgentClassName()
アプリケーションを起動するツールエージェントのクラス名を取得する。 |
int |
invokeApplication(java.lang.String appName,
java.lang.String wid,
Attribute[] attrList)
アプリケーションの起動を行う。 |
int |
requestAppStatus(int toolAgentHandle,
java.lang.String wid)
アプリケーションの実行状態を取得する。 |
protected void |
retryApplication(AppExecutionInfo info)
アプリケーションを再実行する。 |
protected void |
setRetryCount(int count)
アプリケーションの試行回数を設定する。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース jp.co.argo21.nautica.workflow.wfmc.ToolAgent から継承したメソッド |
terminateApplication |
| フィールドの詳細 |
public static final java.lang.String TOOLAGENT_PATH
protected org.apache.log4j.Logger log
protected MessageTransporter tp
protected int retryCount
protected java.lang.String userId
protected java.lang.String passwd
protected java.lang.String session
| コンストラクタの詳細 |
public AbstractToolAgent()
| メソッドの詳細 |
protected abstract java.lang.String getToolAgentClassName()
protected abstract java.lang.String getQueueName()
protected abstract AppExecutionInfo getExecInfo(java.lang.String appName,
java.lang.String wid,
int handler,
Attribute[] attrList)
appName - 定義に指定したアプリケーション名wid - 作業項目IDhandler - ツールエージェントハンドラattrList - 属性一覧
protected abstract void checkApplicationDefined(java.lang.String appName)
throws ApplicationNotDefinedException
appName - アプリケーション名
ApplicationNotDefinedException - アプリケーションが定義されていない場合
public int invokeApplication(java.lang.String appName,
java.lang.String wid,
Attribute[] attrList)
throws ApplicationNotStartedException,
ApplicationNotDefinedException,
ApplicationBusyException
ToolAgent 内の invokeApplicationappName - 定義に指定したアプリケーション名wid - 作業項目IDattrList - 属性一覧
ApplicationNotStartedException - アプリケーションが開始できなかった場合
ApplicationNotDefinedException - アプリケーションが定義されていない場合
ApplicationBusyException - アプリケーションがビジーで要求を受けられない場合
protected void retryApplication(AppExecutionInfo info)
throws ApplicationNotStartedException
info - アプリケーション実行情報
ApplicationNotStartedException - アプリケーションが開始できなかった場合protected void setRetryCount(int count)
count - アプリケーションの試行回数
public int requestAppStatus(int toolAgentHandle,
java.lang.String wid)
throws ApplicationBusyException,
InvalidToolAgentException,
InvalidWorkItemException
ToolAgent 内の requestAppStatustoolAgentHandle - ツールエージェントハンドルwid - 作業項目ID
ApplicationBusyException - アプリケーションがビジーで要求を受けられない場合
InvalidToolAgentException - 有効でないツールエージェントハンドルを指定した場合
InvalidWorkItemException - 有効でない作業項目IDを指定した場合
protected java.lang.String connect()
throws ConnectionFailedException
ConnectionFailedException - ワークフローエンジンとの接続に失敗した場合connect()protected void disconnect(java.lang.String session)
session - disconnect(java.lang.String)
|
株式会社アルゴ21 | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||