1 22 package org.jboss.services.deployment; 23 24 import java.net.URL ; 25 import java.util.HashMap ; 26 import java.util.List ; 27 import java.util.Set ; 28 29 import org.jboss.system.ListenerServiceMBean; 30 31 38 public interface DeploymentServiceMBean extends ListenerServiceMBean 39 { 40 42 45 void setTemplateDir(String templateDir); 46 47 50 String getTemplateDir(); 51 52 55 void setUndeployDir(String undeployDir); 56 57 60 String getUndeployDir(); 61 62 65 void setDeployDir(String deployDir); 66 67 70 String getDeployDir(); 71 72 74 78 Set listModuleTemplates(); 79 80 84 List getTemplatePropertyInfo(String template) throws Exception ; 85 86 90 String createModule(String module, String template, HashMap properties) throws Exception ; 91 92 95 String createModule(String module, String template, String [] properties) throws Exception ; 96 97 100 boolean removeModule(String module); 101 102 109 boolean updateMBean(MBeanData data) throws Exception ; 110 111 154 String updateDataSource(String module, String template, HashMap properties) throws Exception ; 155 156 170 String removeDataSource(String module, String template, HashMap properties) throws Exception ; 171 172 175 void deployModuleAsynch(String module) throws Exception ; 176 177 180 URL getDeployedURL(String module) throws Exception ; 181 182 185 void undeployModuleAsynch(String module) throws Exception ; 186 187 190 URL getUndeployedURL(String module) throws Exception ; 191 192 202 public boolean uploadLibrary(URL src, String filename); 203 204 } 205 | Popular Tags |