1 23 24 package com.sun.enterprise.deployapi.config; 25 26 import java.io.*; 27 import java.util.Iterator ; 28 29 import javax.enterprise.deploy.spi.DeploymentConfiguration ; 30 import javax.enterprise.deploy.model.DeployableObject ; 31 import javax.enterprise.deploy.model.J2eeApplicationObject ; 32 import javax.enterprise.deploy.model.DDBeanRoot ; 33 import javax.enterprise.deploy.shared.ModuleType ; 34 import javax.enterprise.deploy.spi.DConfigBeanRoot ; 35 import javax.enterprise.deploy.spi.DeploymentManager ; 36 import javax.enterprise.deploy.spi.exceptions.ConfigurationException ; 37 import javax.enterprise.deploy.spi.exceptions.BeanNotFoundException ; 38 39 import com.sun.enterprise.deployapi.config.DConfigBeanRootFactoryImpl; 40 import com.sun.enterprise.util.LocalStringManagerImpl; 41 42 50 public class SunDeploymentConfiguration implements DeploymentConfiguration { 51 52 private DeployableObject deployObject = null; 53 private DeploymentManager deploymentManager=null; 54 55 protected static LocalStringManagerImpl localStrings = 56 new LocalStringManagerImpl(SunDeploymentConfiguration.class); 57 58 59 public SunDeploymentConfiguration(DeployableObject deployObject) throws ConfigurationException { 60 this.deployObject = deployObject; 61 } 62 63 75 public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot dDBeanRoot) throws ConfigurationException { 76 77 return null; 78 } 79 80 86 public DeployableObject getDeployableObject() { 87 return deployObject; 88 } 89 90 97 public void removeDConfigBean(DConfigBeanRoot dConfigBeanRoot) throws BeanNotFoundException { 98 } 99 100 108 public void restore(InputStream inputStream) throws ConfigurationException { 109 } 110 111 123 public DConfigBeanRoot restoreDConfigBean(InputStream inputStream, DDBeanRoot dDBeanRoot) throws ConfigurationException { 124 return null; 125 } 126 127 136 public void save(OutputStream outputStream) throws ConfigurationException { 137 } 138 139 150 public void saveDConfigBean(OutputStream outputStream, DConfigBeanRoot dConfigBeanRoot) throws ConfigurationException { 151 } 152 153 156 public void setDeploymentManager(DeploymentManager deploymentManager) { 157 this.deploymentManager = deploymentManager; 158 } 159 160 163 public DeploymentManager getDeploymentManager() { 164 return deploymentManager; 165 } 166 } 167 | Popular Tags |