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.hayabusa.remote;
017    
018    import java.util.Map;
019    
020    /**
021     * リモートサーブレãƒ?ƒˆからクラスを利用するためのインタフェイスですã?
022     * マップでキーと値を渡しますã?
023     * CSV形式等で値を渡した場合ã?クラスでåˆ?§£処ç�?‚’行って下さã�??
024     *
025     * @og.rev 4.1.0.0 (2007/12/20) 新規作æ?
026     * @version  4.1
027     * @author   Masakazu Takahashi
028     * @since    JDK6.0,
029     */
030    public interface RemoteControllable {
031    
032            /**
033             * RemoteControlServletで呼び出したクラスが実行するメソãƒ?ƒ‰ですã?
034             * 結果はXML形式ã?æ–?­—å?で返して下さã�??
035             * キーと値をMAPに格納してクラスに渡しますã?
036             * CSV形式等ã?åˆ?§£は受け取ったクラス側で行いますã?
037             *
038             * @param       valMap   サーブレãƒ?ƒˆが受け取ったキーと値のマッãƒ?
039             *
040             * @return      XML形式ã?実行結果
041             */
042            String remoteControl( Map<String,String> valMap );
043    }