001    /*
002     * Copyright (c) 2009 The openGion Project.
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *     http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013     * either express or implied. See the License for the specific language
014     * governing permissions and limitations under the License.
015     */
016    package org.opengion.fukurou.transfer;
017    
018    import org.opengion.fukurou.db.Transaction;
019    
020    /**
021     * 伝é?要求に対するの実行方法を定義するインターフェースですã?
022     *
023     * å�?®Ÿè£?‚¯ラスでは、{@link #execute(String[], TransferConfig, Transaction)}を実è£?�™るå¿?¦�がありますã?
024     * サブクラスå†?ƒ¨で、DB関連の処ç�?‚’行う場合ã?、引数のTransactionオブジェクトを利用して下さã�??
025     * またã?接続に対するCommit/Rollbackは、呼び出しå?で行いますã?で、実行å?ç�??中では行わなã�?�§下さã�??
026     *
027     * @og.group 伝é?シスãƒ?ƒ 
028     *
029     * @version  5.0
030     * @author   Hiroki.Nakamura
031     * @since    JDK1.6
032     */
033    public interface TransferExec {
034    
035            /**
036             * 伝é?処ç�?‚’実行しますã?
037             *
038             * @param vals 伝é?ãƒ??タ(配å?)
039             * @param config 伝é?設定オブジェクãƒ?
040             * @param tran トランザクションオブジェクãƒ?
041             */
042            public void execute( final String[] vals, final TransferConfig config, final Transaction tran );
043    }