public interface DeploymentConfiguration
Modifier and Type | Method and Description |
---|---|
DConfigBeanRoot |
getDConfigBeanRoot(DDBeanRoot bean)
Return the top level configuration for a deployment descriptor
|
DeployableObject |
getDeployableObject()
Return an object that provides access to the deployment descriptor
|
void |
removeDConfigBean(DConfigBeanRoot bean)
Remove a root configuration and all its children
|
void |
restore(InputStream input)
Restores a full set of configuration beans
|
DConfigBeanRoot |
restoreDConfigBean(InputStream input,
DDBeanRoot bean)
Restore a configuration from an input stream
|
void |
save(OutputStream output)
Saves the fulls set of configuration beans
|
void |
saveDConfigBean(OutputStream output,
DConfigBeanRoot bean)
Save a configuration to an output stream
|
DeployableObject getDeployableObject()
DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot bean) throws ConfigurationException
bean
- the root of the deployment descriptorConfigurationException
- for an error in the deployment descriptorvoid removeDConfigBean(DConfigBeanRoot bean) throws BeanNotFoundException
bean
- the configurationBeanNotFoundException
- when the bean is not foundDConfigBeanRoot restoreDConfigBean(InputStream input, DDBeanRoot bean) throws ConfigurationException
input
- the input streambean
- the deployment descriptorConfigurationException
- when there is an error in the configurationvoid saveDConfigBean(OutputStream output, DConfigBeanRoot bean) throws ConfigurationException
output
- the output streambean
- the configurationConfigurationException
- when there is an error in the configurationvoid restore(InputStream input) throws ConfigurationException
input
- the input streamConfigurationException
- for an error in the configurationvoid save(OutputStream output) throws ConfigurationException
output
- the output streamConfigurationException
- for an error in the configurationCopyright © 2012 JBoss by Red Hat. All Rights Reserved.