または
Try NowBuy Now

Locations of visitors to this page

SourceForge.net

SourceForge.JP

wrapper.event.<event_name>.command.argv.<n> プロパティ
wrapper.event.<event_name>.command.argv.<n> プロパティ

コンフィギュレーション・プロパティの概要

wrapper.event.<event_name>.command.argv.<n> プロパティ

対応バージョン :3.3.0
対応エディション :プロフェッショナル版スタンダード版 (未対応)コミュニティー版 (未対応)
対応プラットフォーム :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

このプロパティには、ある特定のイベントに反応して実行するコマンドの引数を指定します。

他のイベント・コマンドのプロパティと同じように、それぞれ定義をすることができます:

  • 全てのイベント共通設定:[wrapper.event.defalut.command.argv.<n>]プロパティ
  • 特定のイベント用の設定:[wrapper.event.<event_name>.command.argv.<n>]プロパティ

プロパティ名の「<event_name>」コンポーネント部には、 「default」(デフォルト)のキーワードか、あるいは、 「イベントの種類の1つ」を設定します。 デフォルト・プロパティを設定すると、特定のイベントの種類が明示されていない全てのイベントには、そのデフォルト値を引き継ぎます。 プロパティ名の「<n>」コンポーネント部には、 「1」からカウントアップしていくインテージャー(整数値)のナンバリング数値を入れて指定します。 [wrapper.ignore_sequence_gaps] プロパティで、シーケンス内でギャップ(途切れ)検索を「許可する/許可しない」を任意に設定にすることができます。

設定例:
wrapper.event.jvm_prelaunch.command.argv.1=/usr/bin/mycleanup
wrapper.event.jvm_prelaunch.command.argv.2=/tmp/myapp-tmp

さらに設定例や様々なイベント・プロパティと一緒に使い方について、 イベント・コマンド(イベントに応じたコマンド実行)をご覧ください。

Wrapperがチャイルド(子)プロセスを実行するコマンドラインを生成している時、 イベントハンドラ変数が、その値を置き換えます。

設定例:
wrapper.event.jvm_prelaunch.command.argv.1=/usr/bin/mycleanup
wrapper.event.jvm_prelaunch.command.argv.2=/tmp/myapp-tmp-%WRAPPER_EVENT_JVM_PID%

参照: イベント・コマンド





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
Java Service Wrapper Version: 3.5.4