1 7 package test.enterprise.deploy.spi; 8 9 import java.io.File ; 10 import java.io.InputStream ; 11 import java.util.Locale ; 12 13 import javax.enterprise.deploy.model.DeployableObject ; 14 import javax.enterprise.deploy.shared.DConfigBeanVersionType ; 15 import javax.enterprise.deploy.shared.ModuleType ; 16 import javax.enterprise.deploy.spi.DeploymentConfiguration ; 17 import javax.enterprise.deploy.spi.DeploymentManager ; 18 import javax.enterprise.deploy.spi.Target ; 19 import javax.enterprise.deploy.spi.TargetModuleID ; 20 import javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException ; 21 import javax.enterprise.deploy.spi.exceptions.InvalidModuleException ; 22 import javax.enterprise.deploy.spi.exceptions.TargetException ; 23 import javax.enterprise.deploy.spi.status.ProgressObject ; 24 25 26 32 public class AdvancedDeploymentManager implements DeploymentManager 33 { 34 private boolean connected = true; 35 private String uri; 36 37 38 43 public AdvancedDeploymentManager(String uri) 44 { 45 this.uri = uri; 46 } 47 48 49 56 public DeploymentConfiguration createConfiguration(DeployableObject dObj) 57 throws InvalidModuleException 58 { 59 return null; 60 } 61 62 63 72 public ProgressObject distribute(Target [] targetList, File moduleArchive, File deploymentPlan) 73 throws IllegalStateException 74 { 75 return null; 76 } 77 78 79 88 public ProgressObject distribute(Target [] targetList, InputStream moduleArchive, InputStream deploymentPlan) 89 throws IllegalStateException 90 { 91 return null; 92 } 93 94 95 104 public TargetModuleID [] getAvailableModules(ModuleType moduleType, Target [] targetList) 105 throws TargetException , IllegalStateException 106 { 107 return null; 108 } 109 110 111 116 public Locale getCurrentLocale() 117 { 118 return null; 119 } 120 121 122 127 public DConfigBeanVersionType getDConfigBeanVersion() 128 { 129 return null; 130 } 131 132 133 138 public Locale getDefaultLocale() 139 { 140 return null; 141 } 142 143 144 153 public TargetModuleID [] getNonRunningModules(ModuleType moduleType, Target [] targetList) 154 throws TargetException , IllegalStateException 155 { 156 return null; 157 } 158 159 160 169 public TargetModuleID [] getRunningModules(ModuleType moduleType, Target [] targetList) 170 throws TargetException , IllegalStateException 171 { 172 return null; 173 } 174 175 176 181 public Locale [] getSupportedLocales() 182 { 183 return null; 184 } 185 186 187 193 public Target [] getTargets() 194 throws IllegalStateException 195 { 196 return null; 197 } 198 199 200 207 public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version) 208 { 209 return false; 210 } 211 212 213 219 public boolean isLocaleSupported(Locale locale) 220 { 221 return false; 222 } 223 224 225 230 public boolean isRedeploySupported() 231 { 232 return false; 233 } 234 235 236 246 public ProgressObject redeploy(TargetModuleID [] moduleIDList, File moduleArchive, File deploymentPlan) 247 throws UnsupportedOperationException , IllegalStateException 248 { 249 return null; 250 } 251 252 253 263 public ProgressObject redeploy(TargetModuleID [] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) 264 throws UnsupportedOperationException , IllegalStateException 265 { 266 return null; 267 } 268 269 270 271 public void release() { } 272 273 274 281 public void setDConfigBeanVersion(DConfigBeanVersionType version) 282 throws DConfigBeanVersionUnsupportedException { } 283 284 285 291 public void setLocale(Locale locale) 292 throws UnsupportedOperationException { } 293 294 295 302 public ProgressObject start(TargetModuleID [] moduleIDList) 303 throws IllegalStateException 304 { 305 return null; 306 } 307 308 309 316 public ProgressObject stop(TargetModuleID [] moduleIDList) 317 throws IllegalStateException 318 { 319 return null; 320 } 321 322 323 330 public ProgressObject undeploy(TargetModuleID [] moduleIDList) 331 throws IllegalStateException 332 { 333 return null; 334 } 335 } 336 | Popular Tags |