integrating with – Japanese Translation – Keybot Dictionary

Spacer TTN Translation Network TTN TTN Login Deutsch Français Spacer Help
Source Languages Target Languages
Keybot 6 Results  wrapper.tanukisoftware.com
  Summary of Integration ...  
Methods of Integrating with the Java Service Wrapper
Java Service Wrapperインテグレーション方法
  WrapperJarApp Integrati...  
When integrating with this Method 4 (WrapperJarApp helper class), the WrapperJarApp class replaces an application's main class. This gives the WrapperJarApp class a chance to immediately initialize the WrapperManager and register the JVM with the Wrapper.
この方法を利用するにおいて理解しておくべき点がいくつかあります。 WrapperがJVM(Javaバーチャルマシン)をシャットダウンする際に、直接アプリケーションへシャットダウンをリクエストするわけではなく、 JVM内部から[System.exit()]メソッドを呼び出してJVMのシャットダウン・シーケンスに入ります。 もし、アプリケーションが シャットダウン・フック に登録されている場合、 通常どおりに実行処理され、アプリケーションがキレイにシャットダウンできる時間を確保します。 その一方、もしシャットダウン・フックに登録されていない場合、 コンソール(コマンド・ウィンドウ)から[CTRL]+[C]のキー操作によるアプリケーション任意停止と同じように動作し、 アプリケーションを直ちに終了させます。シャットダウン・フックの有無に関わらず、 いずれのケースでも、Wrapper導入前の環境状態と同じように動作します。
  WrapperSimpleApp Integr...  
When integrating with this Method 1 the WrapperSimpleApp helper class replaces an application's main class. This gives the WrapperSimpleApp class a chance to immediately initialize the WrapperManager and register the JVM with the Wrapper.
この方法1([WrapperSimpleApp]ヘルパークラス)でインテグレーションすると、 [WrapperSimpleApp]クラスがアプリケーションのメイン・クラスを置き換えます。 これにより、[WrapperSimpleApp]クラスが、 即時にWrapperManagerを初期化する機会を持つことができ、 JVM(Javaバーチャルマシン)をWrapperに登録します。 [WrapperSimpleApp]クラスは、アプリケーションのライフサイクル(稼働状況)はもちろんのこと、 Wrapperとの全ての対話を管理します。 WrapperManager経由でWrapperがスタート・メッセージをJVMに送ると、 アプリケーションの本来のメイン・クラスのメイン・メソッドが呼び出されます。