|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.deployment.spi.DeploymentConfigurationImpl
An interface that defines a container for all the server-specific configuration information for a single top-level J2EE module. The DeploymentConfiguration object could represent a single stand alone module or an EAR file that contains several sub-modules.
Constructor Summary | |
DeploymentConfigurationImpl()
|
Method Summary | |
javax.enterprise.deploy.spi.DConfigBeanRoot |
getDConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot bean)
Return the top level configuration for a deployment descriptor |
javax.enterprise.deploy.model.DeployableObject |
getDeployableObject()
Return an object that provides access to the deployment descriptor |
void |
removeDConfigBean(javax.enterprise.deploy.spi.DConfigBeanRoot bean)
Remove a root configuration and all its children |
void |
restore(InputStream input)
Restores a full set of configuration beans |
javax.enterprise.deploy.spi.DConfigBeanRoot |
restoreDConfigBean(InputStream input,
javax.enterprise.deploy.model.DDBeanRoot bean)
Restore a configuration from an input stream |
void |
save(OutputStream output)
Saves the fulls set of configuration beans |
void |
saveDConfigBean(OutputStream output,
javax.enterprise.deploy.spi.DConfigBeanRoot bean)
Save a configuration to an output stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeploymentConfigurationImpl()
Method Detail |
public javax.enterprise.deploy.model.DeployableObject getDeployableObject()
getDeployableObject
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
public javax.enterprise.deploy.spi.DConfigBeanRoot getDConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot bean) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
getDConfigBeanRoot
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
bean
- the root of the deployment descriptor
javax.enterprise.deploy.spi.exceptions.ConfigurationException
- for an error in the deployment descriptorpublic void removeDConfigBean(javax.enterprise.deploy.spi.DConfigBeanRoot bean) throws javax.enterprise.deploy.spi.exceptions.BeanNotFoundException
removeDConfigBean
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
bean
- the configuration
javax.enterprise.deploy.spi.exceptions.BeanNotFoundException
- when the bean is not foundpublic javax.enterprise.deploy.spi.DConfigBeanRoot restoreDConfigBean(InputStream input, javax.enterprise.deploy.model.DDBeanRoot bean) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
restoreDConfigBean
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
input
- the input streambean
- the deployment descriptor
javax.enterprise.deploy.spi.exceptions.ConfigurationException
- when there is an error in the configurationpublic void saveDConfigBean(OutputStream output, javax.enterprise.deploy.spi.DConfigBeanRoot bean) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
saveDConfigBean
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
output
- the output streambean
- the configuration
javax.enterprise.deploy.spi.exceptions.ConfigurationException
- when there is an error in the configurationpublic void restore(InputStream input) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
restore
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
input
- the input stream
javax.enterprise.deploy.spi.exceptions.ConfigurationException
- for an error in the configurationpublic void save(OutputStream output) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
save
in interface javax.enterprise.deploy.spi.DeploymentConfiguration
output
- the output stream
javax.enterprise.deploy.spi.exceptions.ConfigurationException
- for an error in the configuration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |