1 22 package org.jboss.deployment.services; 23 24 import java.io.File ; 25 import java.util.Map ; 26 27 import javax.enterprise.deploy.spi.exceptions.TargetException ; 28 29 import org.jboss.deployers.spi.deployment.MainDeployer; 30 import org.jboss.deployers.spi.structure.vfs.StructureBuilder; 31 import org.jboss.deployers.spi.structure.vfs.StructuredDeployers; 32 import org.jboss.deployment.spi.SerializableTargetModuleID; 33 34 41 public interface DeploymentManagerServiceMBean 42 { 43 public File getUploadDir(); 44 45 public void setUploadDir(File uploadDir); 46 47 public MainDeployer getMainDeployer(); 48 public void setMainDeployer(MainDeployer deployer); 49 50 public Class getCarDeployerType(); 51 public void setCarDeployerType(Class carDeployerType); 52 public Class getEarDeployerType(); 53 public void setEarDeployerType(Class earDeployerType); 54 public Class getEjbDeployerType(); 55 public void setEjbDeployerType(Class ejbDeployerType); 56 public Class getRarDeployerType(); 57 public void setRarDeployerType(Class rarDeployerType); 58 public Class getWarDeployerType(); 59 public void setWarDeployerType(Class warDeployerType); 60 61 boolean isDeleteOnUndeploy(); 62 63 void setDeleteOnUndeploy(boolean deleteOnUndeploy); 64 65 boolean isFailOnCollision(); 66 67 void setFailOnCollision(boolean failOnCollision); 68 69 public Map getModuleMap(); 70 71 public void deploy(SerializableTargetModuleID moduleID) throws Exception ; 72 73 public void start(String url) throws Exception ; 74 75 public void stop(String url) throws Exception ; 76 77 public void undeploy(String url) throws Exception ; 78 79 SerializableTargetModuleID[] getAvailableModules(int moduleType) throws TargetException ; 80 } 81 | Popular Tags |