1 23 24 29 30 package javax.enterprise.deploy.spi; 31 32 import javax.enterprise.deploy.model.*; 33 import javax.enterprise.deploy.spi.exceptions.ConfigurationException ; 34 import javax.enterprise.deploy.spi.exceptions.BeanNotFoundException ; 35 import java.io.InputStream ; 36 import java.io.OutputStream ; 37 38 48 public interface DeploymentConfiguration { 49 50 56 public DeployableObject getDeployableObject(); 57 58 70 public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot bean) 71 throws ConfigurationException ; 72 73 80 public void removeDConfigBean(DConfigBeanRoot bean) 81 throws BeanNotFoundException ; 82 83 95 public DConfigBeanRoot restoreDConfigBean(InputStream inputArchive, 96 DDBeanRoot bean) throws ConfigurationException ; 97 98 109 public void saveDConfigBean(OutputStream outputArchive,DConfigBeanRoot bean) 110 throws ConfigurationException ; 111 112 120 public void restore(InputStream inputArchive) throws 121 ConfigurationException ; 122 123 132 public void save(OutputStream outputArchive) throws 133 ConfigurationException ; 134 135 } 136 137 | Popular Tags |