public class SunDeploymentConfiguration extends Object implements javax.enterprise.deploy.spi.DeploymentConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected static com.sun.enterprise.util.LocalStringManagerImpl |
localStrings |
| Constructor and Description |
|---|
SunDeploymentConfiguration(javax.enterprise.deploy.model.DeployableObject deployObject)
Creates a new instance of SunDeploymentConfiguration
|
| Modifier and Type | Method and Description |
|---|---|
javax.enterprise.deploy.spi.DConfigBeanRoot |
getDConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot dDBeanRoot)
Returns the top level configuration bean, DConfigBeanRoot,
associated with the deployment descriptor represented by
the designated DDBeanRoot bean.
|
javax.enterprise.deploy.model.DeployableObject |
getDeployableObject()
Returns an object that provides access to
the deployment descriptor data and classes
of a J2EE module.
|
javax.enterprise.deploy.spi.DeploymentManager |
getDeploymentManager() |
void |
removeDConfigBean(javax.enterprise.deploy.spi.DConfigBeanRoot dConfigBeanRoot)
Remove the root DConfigBean and all its children.
|
void |
restore(InputStream inputStream)
Restore from disk to a full set of configuration beans previously
stored.
|
javax.enterprise.deploy.spi.DConfigBeanRoot |
restoreDConfigBean(InputStream inputStream,
javax.enterprise.deploy.model.DDBeanRoot dDBeanRoot)
Restore from disk to instantated objects all the DConfigBeans
associated with a specific deployment descriptor.
|
void |
save(OutputStream outputStream)
Save to disk the current set configuration beans created for
this deployable module.
|
void |
saveDConfigBean(OutputStream outputStream,
javax.enterprise.deploy.spi.DConfigBeanRoot dConfigBeanRoot)
Save to disk all the configuration beans associated with
a particular deployment descriptor file.
|
void |
setDeploymentManager(javax.enterprise.deploy.spi.DeploymentManager deploymentManager)
sets the deployment manager
|
protected static final com.sun.enterprise.util.LocalStringManagerImpl localStrings
public SunDeploymentConfiguration(javax.enterprise.deploy.model.DeployableObject deployObject)
throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
javax.enterprise.deploy.spi.exceptions.ConfigurationExceptionpublic javax.enterprise.deploy.spi.DConfigBeanRoot getDConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot dDBeanRoot)
throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
getDConfigBeanRoot in interface javax.enterprise.deploy.spi.DeploymentConfigurationbean - The top level bean that represents the
associated deployment descriptor.javax.enterprise.deploy.spi.exceptions.ConfigurationException - reports errors in generating
a configuration beanpublic javax.enterprise.deploy.model.DeployableObject getDeployableObject()
getDeployableObject in interface javax.enterprise.deploy.spi.DeploymentConfigurationpublic void removeDConfigBean(javax.enterprise.deploy.spi.DConfigBeanRoot dConfigBeanRoot)
throws javax.enterprise.deploy.spi.exceptions.BeanNotFoundException
removeDConfigBean in interface javax.enterprise.deploy.spi.DeploymentConfigurationbean - the top leve DConfigBean to remove.javax.enterprise.deploy.spi.exceptions.BeanNotFoundException - the bean provides is
not in this beans child list.public void restore(InputStream inputStream) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
restore in interface javax.enterprise.deploy.spi.DeploymentConfigurationinputArchive - The input stream from which to restore
the Configuration.javax.enterprise.deploy.spi.exceptions.ConfigurationException - reports errors in generating
a configuration beanpublic javax.enterprise.deploy.spi.DConfigBeanRoot restoreDConfigBean(InputStream inputStream, javax.enterprise.deploy.model.DDBeanRoot dDBeanRoot) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
restoreDConfigBean in interface javax.enterprise.deploy.spi.DeploymentConfigurationinputArchive - The input stream for the file from which the
DConfigBeans should be restored.bean - The DDBeanRoot bean associated with the
deployment descriptor file.javax.enterprise.deploy.spi.exceptions.ConfigurationException - reports errors in generating
a configuration beanpublic void save(OutputStream outputStream) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
save in interface javax.enterprise.deploy.spi.DeploymentConfigurationoutputArchive - The output stream to which to save the
Configuration.javax.enterprise.deploy.spi.exceptions.ConfigurationExceptionpublic void saveDConfigBean(OutputStream outputStream, javax.enterprise.deploy.spi.DConfigBeanRoot dConfigBeanRoot) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
saveDConfigBean in interface javax.enterprise.deploy.spi.DeploymentConfigurationoutputArchive - The output stream to which the DConfigBeans
should be saved.bean - The top level bean, DConfigBeanRoot, from which to be save.javax.enterprise.deploy.spi.exceptions.ConfigurationException - reports errors in generating
a configuration beanpublic void setDeploymentManager(javax.enterprise.deploy.spi.DeploymentManager deploymentManager)
public javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.