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 ; 9 10 21 22 public class GenericWebAppsDeployerBaseService extends JahiaWebAppsDeployerService { 23 24 static private GenericWebAppsDeployerBaseService m_Instance = null; 25 26 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 43 public void init (SettingsBean jSettings) 44 throws JahiaInitializationException { 45 super.init (jSettings); 46 } 48 public boolean canDeploy () { 49 return false; 50 } 51 52 public boolean deploy (JahiaSite site, String context, String 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 files) { 62 return false; 63 } 64 65 } | Popular Tags |