KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > theme > deployment > jboss > LayoutDeploymentFactory


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.core.theme.deployment.jboss;
10
11 import org.jboss.deployment.DeploymentException;
12 import org.jboss.portal.server.ServerManager;
13 import org.jboss.portal.server.deployment.PortalWebApp;
14 import org.jboss.portal.server.deployment.jboss.Deployment;
15 import org.jboss.portal.server.deployment.jboss.DeploymentFactory;
16
17 import java.net.URL JavaDoc;
18
19 /**
20  * Create a layout deployer.
21  *
22  * @author <a HREF="mailto:mholzner@novell.com">Martin Holzner</a>
23  * @version $Revision: 1.2 $
24  */

25 public class LayoutDeploymentFactory implements DeploymentFactory
26 {
27    /**
28     * Create a layout deployer.
29     *
30     * @param manager
31     * @param url
32     * @param pwa
33     * @param appName
34     * @return
35     * @throws DeploymentException
36     */

37    public Deployment newInstance(ServerManager manager, URL JavaDoc url, PortalWebApp pwa, String JavaDoc appName) throws DeploymentException
38    {
39       return new LayoutDeployment(manager, url, pwa, appName);
40    }
41 }
42
Popular Tags