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 }