インターフェースの使用
org.springframework.integration.file.remote.SessionCallback
org.springframework.integration.file.remote 内の SessionCallback 使用
修飾子と型メソッド説明<T> T
RemoteFileOperations.execute
(SessionCallback<F, T> callback) セッションを取得した後、コールバックの doInSession メソッドを実行します。<T> T
RemoteFileTemplate.execute
(SessionCallback<F, T> callback)