KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > deployment > jboss > ServerDeployerMBean


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server.deployment.jboss;
10
11 import org.jboss.deployment.SubDeployerMBean;
12 import org.jboss.deployment.DeploymentException;
13 import org.jboss.portal.server.ServerManager;
14 import org.jboss.portal.server.deployment.PortalWebApp;
15 import org.w3c.dom.Element JavaDoc;
16
17 import java.net.URL JavaDoc;
18
19 /**
20  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
21  * @version $Revision: 1.2 $
22  */

23 public interface ServerDeployerMBean extends SubDeployerMBean
24 {
25    ServerDeployer getDeployer();
26    ServerManager getServetManager();
27    void setServerManager(ServerManager serverManager);
28    Element JavaDoc getFactoryConfig();
29    void setFactoryConfig(Element JavaDoc factoryConfig);
30
31    void deploy(PortalWebApp pwa) throws DeploymentException;
32
33    void undeploy(PortalWebApp pwa) throws DeploymentException;
34
35    /**
36     * Locate a deployment info factory based on the url. If no factory is found it returns null.
37     */

38    DeploymentFactory findFactory(URL JavaDoc url);
39 }
40
Popular Tags