KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > webapps_deployer > GenericWebAppsDeployerBaseService


1 package org.jahia.services.webapps_deployer;
2
3 import org.jahia.data.applications.ApplicationBean;
4 import org.jahia.exceptions.JahiaInitializationException;
5 import org.jahia.services.sites.JahiaSite;
6 import org.jahia.settings.SettingsBean;
7
8 import java.util.Vector JavaDoc;
9
10 /**
11  * <p>Title: Generic web app deployment service for unsupported web applications
12  * servers.</p>
13  * <p>Description: This class was created to offer some basic support for
14  * application servers that are not (yet) recognized by Jahia.</p>
15  * <p>Copyright: Copyright (c) 2002</p>
16  * <p>Company: </p>
17  *
18  * @author Serge Huber
19  * @version 1.0
20  */

21
22 public class GenericWebAppsDeployerBaseService extends JahiaWebAppsDeployerService {
23
24     static private GenericWebAppsDeployerBaseService m_Instance = null;
25
26     /**
27      * Use this method to get an instance of this class
28      */

29     public static synchronized GenericWebAppsDeployerBaseService getInstance () {
30
31         if (m_Instance == null) {
32             m_Instance = new GenericWebAppsDeployerBaseService ();
33         }
34         return m_Instance;
35     }
36
37     //-------------------------------------------------------------------------
38
/**
39      * Initialize
40      *
41      * @param JahiaPrivateSettings jSettings
42      */

43     public void init (SettingsBean jSettings)
44             throws JahiaInitializationException {
45         super.init (jSettings);
46     } // end init
47

48     public boolean canDeploy () {
49         return false;
50     }
51
52     public boolean deploy (JahiaSite site, String JavaDoc context, String JavaDoc filePath)
53             throws org.jahia.exceptions.JahiaException {
54         return false;
55     }
56
57     public boolean undeploy (ApplicationBean app) throws org.jahia.exceptions.JahiaException {
58         return false;
59     }
60
61     public boolean deploy (JahiaSite site, Vector JavaDoc files) {
62         return false;
63     }
64
65 }
Popular Tags