Package nablarch.test.core.standalone
Class MainForRequestTesting
java.lang.Object
nablarch.fw.HandlerQueueManager<Main>
nablarch.fw.launcher.Main
nablarch.test.core.standalone.MainForRequestTesting
- All Implemented Interfaces:
- Handler<CommandLine,- Integer> 
リクエスト単体テスト用のメインクラス。
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionhandle(CommandLine commandLine, ExecutionContext context) 入力データに対する処理を実行する。protected voidsetUpSystemRepository(String configFilePath) コンポーネント設定ファイルの設定にしたがって、システムリポジトリの初期化を行う。Methods inherited from class nablarch.fw.launcher.Mainexecute, getHandlerQueue, initializeLog, main, outputAppSettingsLog, setupExecutionContextMethods inherited from class nablarch.fw.HandlerQueueManageraddHandler, addHandler, addHandler, addHandler, addHandler, addHandlers, clearHandlers, getHandlerOf, getMethodBinder, setHandlerQueue, setMethodBinder
- 
Constructor Details- 
MainForRequestTestingpublic MainForRequestTesting()
 
- 
- 
Method Details- 
handle入力データに対する処理を実行する。 この実装では、ハンドラキューに後続処理を委譲し、その処理結果から このプロセスの終了コードを算出して返す。 テスト対象実行後にリポジトリの再初期化を行う。
- 
setUpSystemRepositoryコンポーネント設定ファイルの設定にしたがって、システムリポジトリの初期化を行う。- Overrides:
- setUpSystemRepositoryin class- Main
- Parameters:
- configFilePath- コンポーネント設定ファイルのパス
 
 
-