|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployapi.config.SunDeploymentConfiguration
public class SunDeploymentConfiguration
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.
| Field Summary | |
|---|---|
protected static LocalStringManagerImpl |
localStrings
|
| Constructor Summary | |
|---|---|
SunDeploymentConfiguration(DeployableObject deployObject)
Creates a new instance of SunDeploymentConfiguration |
|
| Method Summary | |
|---|---|
DConfigBeanRoot |
getDConfigBeanRoot(DDBeanRoot dDBeanRoot)
Returns the top level configuration bean, DConfigBeanRoot, associated with the deployment descriptor represented by the designated DDBeanRoot bean. |
DeployableObject |
getDeployableObject()
Returns an object that provides access to the deployment descriptor data and classes of a J2EE module. |
DeploymentManager |
getDeploymentManager()
|
void |
removeDConfigBean(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. |
DConfigBeanRoot |
restoreDConfigBean(InputStream inputStream,
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,
DConfigBeanRoot dConfigBeanRoot)
Save to disk all the configuration beans associated with a particular deployment descriptor file. |
void |
setDeploymentManager(DeploymentManager deploymentManager)
sets the deployment manager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final LocalStringManagerImpl localStrings
| Constructor Detail |
|---|
public SunDeploymentConfiguration(DeployableObject deployObject)
throws ConfigurationException
ConfigurationException| Method Detail |
|---|
public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot dDBeanRoot)
throws ConfigurationException
getDConfigBeanRoot in interface DeploymentConfigurationbean - The top level bean that represents the
associated deployment descriptor.
ConfigurationException - reports errors in generating
a configuration beanpublic DeployableObject getDeployableObject()
getDeployableObject in interface DeploymentConfiguration
public void removeDConfigBean(DConfigBeanRoot dConfigBeanRoot)
throws BeanNotFoundException
removeDConfigBean in interface DeploymentConfigurationbean - the top leve DConfigBean to remove.
BeanNotFoundException - the bean provides is
not in this beans child list.
public void restore(InputStream inputStream)
throws ConfigurationException
restore in interface DeploymentConfigurationinputArchive - The input stream from which to restore
the Configuration.
ConfigurationException - reports errors in generating
a configuration bean
public DConfigBeanRoot restoreDConfigBean(InputStream inputStream,
DDBeanRoot dDBeanRoot)
throws ConfigurationException
restoreDConfigBean in interface DeploymentConfigurationinputArchive - The input stream for the file from which the
DConfigBeans should be restored.bean - The DDBeanRoot bean associated with the
deployment descriptor file.
ConfigurationException - reports errors in generating
a configuration bean
public void save(OutputStream outputStream)
throws ConfigurationException
save in interface DeploymentConfigurationoutputArchive - The output stream to which to save the
Configuration.
ConfigurationException
public void saveDConfigBean(OutputStream outputStream,
DConfigBeanRoot dConfigBeanRoot)
throws ConfigurationException
saveDConfigBean in interface DeploymentConfigurationoutputArchive - The output stream to which the DConfigBeans
should be saved.bean - The top level bean, DConfigBeanRoot, from which to be save.
ConfigurationException - reports errors in generating
a configuration beanpublic void setDeploymentManager(DeploymentManager deploymentManager)
public DeploymentManager getDeploymentManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||