2 * Copyright (C) 2007 uguu at users.sourceforge.jp, All Rights Reserved.
\r
4 * Redistribution and use in source and binary forms, with or without
\r
5 * modification, are permitted provided that the following conditions
\r
8 * 1. Redistributions of source code must retain the above copyright
\r
9 * notice, this list of conditions and the following disclaimer.
\r
11 * 2. Redistributions in binary form must reproduce the above copyright
\r
12 * notice, this list of conditions and the following disclaimer in the
\r
13 * documentation and/or other materials provided with the distribution.
\r
15 * 3. Neither the name of Clarkware Consulting, Inc. nor the names of its
\r
16 * contributors may be used to endorse or promote products derived
\r
17 * from this software without prior written permission. For written
\r
18 * permission, please contact clarkware@clarkware.com.
\r
20 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
\r
21 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
\r
22 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
\r
23 * CLARKWARE CONSULTING OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
\r
24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
\r
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
\r
26 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
\r
27 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
\r
28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
\r
29 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\r
32 package jp.sourceforge.deployer.server.core;
\r
40 * @version $Rev$ $Date$
\r
42 public interface ApplicationServer {
\r
46 * サーバが開始するときに呼び出されます。
\r
53 * サーバが終了するときに呼び出されます。
\r
60 * アプリケーションがデプロイされたときに呼び出されます。このアプリケーションは既に使用可能です。
\r
66 void deploy(ApplicationInfo appInfo);
\r
70 * アプリケーションがアンデプロイされたときに呼び出されます。このアプリケーションは既に使用不可能です。
\r
74 * アンデプロイされたアプリケーション。
\r
76 void undeploy(ApplicationInfo appInfo);
\r