KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ioc > deployment > Deployer


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6
7 package org.jfox.ioc.deployment;
8
9 import org.jfox.ioc.deploy.DeployException;
10
11 /**
12  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
13  */

14
15 public interface Deployer {
16
17     /**
18      * deploy a component: ear, ebj jar, web ear or a common componnet
19      *
20      * @param comp
21      * @throws org.jfox.ioc.deploy.DeployException
22      */

23     void deploy(Deployable comp) throws DeployException;
24
25     void undeploy(Deployable comp) throws DeployException;
26 }
27
Popular Tags