public interface JBossDeploymentStructureContainer<T extends <any>>
This mix-in provides support for creating and modifying an internal
jboss-deployment-structure.xml.
| Modifier and Type | Field and Description |
|---|---|
static String |
PRIMARY_JBOSS_DEPLOYMENT_DESCRIPTOR_PATH |
static String |
SECONDARY_JBOSS_DEPLOYMENT_DESCRIPTOR_PATH |
| Modifier and Type | Method and Description |
|---|---|
default Module |
addModule(String name)
Add a dependency on a given module, presuming the
main slot. |
default Module |
addModule(String name,
String slot)
Add a dependency on a given module, with the specified slot.
|
default T |
excludeModule(String name)
Exclude a module dependency, presuming the
main slot. |
default T |
excludeModule(String name,
String slot)
Exclude a module dependency, with the specified slot.
|
default JBossDeploymentStructureAsset |
getDescriptorAsset()
Retrieve the underlying
jboss-deployment-structure.xml descriptor asset. |
static final String PRIMARY_JBOSS_DEPLOYMENT_DESCRIPTOR_PATH
static final String SECONDARY_JBOSS_DEPLOYMENT_DESCRIPTOR_PATH
default Module addModule(String name)
main slot.name - The name of the module.default Module addModule(String name, String slot)
name - The name of the module.slot - The slot of the module.default T excludeModule(String name)
main slot.name - The name of the module.default T excludeModule(String name, String slot)
name - The name of the module.slot - The slot of the module.default JBossDeploymentStructureAsset getDescriptorAsset()
jboss-deployment-structure.xml descriptor asset.
This method will effectively round-trip an existing .xml file into
the appropriate descriptor object tree.
Copyright © 2020 JBoss by Red Hat. All rights reserved.