public abstract class DirectoryStructure extends Object
${JBOSS_HOME}
|-- bin
|-- bundles
| |-- system (system bundles contains only bundles, no patches metadata)
| | |-- layers
| | | |-- xyz
| | | | `-- .overlays (overlay directory)
| | | | |-- .overlays (overlay metadata)
| | | | |-- patch-xyz-1
| | | | `-- patch-xyz-2
| | | |-- vuw
| | | | `-- .overlays (overlay directory)
| | | | `-- patch-vuw-1
| | | `-- base
| | | |-- .overlays (overlay directory)
| | | | |-- patch-base-1
| | | | `-- patch-base-2
| | | `-- org/jboss/as/osgi
| | `-- add-ons
| | `-- def
| | `-- .overlays (overlay directory)
| | |-- patch-def-1
| | `-- patch-def-2
| |
| `-- my/own/bundle/path/thing
|
|-- docs
|-- modules
| |-- layers.conf (xyz,vuw)
| |-- system (system modules contains only modules, no patches metadata)
| | |-- layers
| | | |-- xyz
| | | | `-- .overlays (overlay directory)
| | | | |-- patch-xyz-1
| | | | `-- patch-xyz-2
| | | |-- vuw
| | | | `-- .overlays (overlay directory)
| | | | `-- patch-vuw-1
| | | ` -- base
| | | |-- .overlays (overlay directory)
| | | | |-- patch-base-1
| | | | `-- patch-base-2
| | | |-- org/jboss/as/...
| | | `-- org/jboss/as/server/main/module.xml
| | `-- add-ons
| | `-- def
| | `-- .overlays (overlay directory)
| | |-- patch-def-1
| | `-- patch-def-2
| |
| `-- my/own/module/root/repo
|
|-- .installation (metadata directory for the installation)
| |-- identity.conf (patched state for the installed identity)
| |-- patches (history of the patches applied to the identity)
| | `-- patch-identity-1
| | |-- patch.xml
| | |-- rollback.xml
| | |-- timestamp
| | |-- configuration (configuration backup)
| | `-- misc (misc backup)
| |-- layers (metadata for patched layers)
| | |-- base
| | | `-- layer.conf (patched state for the layer)
| | |-- xyz
| | | `-- layer.conf
| | |-- vuw
| | | `-- layer.conf
| `-- add-ons (metadata for patched add-ons)
| `-- def
| `-- layer.conf
`-- jboss-modules.jar
Algorithm to build the module path when the server boots:
InstalledImage.getLayersConf()
file and "base":org.jboss.as.patching.installation.Layer#loadTargetInfo()#getInstallationInfo()
org.jboss.as.patching.installation.Layer#loadTargetInfo()#getModulePatchDirectory(String)
for the cumulative-patch-id (if it exists) to the pathsorg.jboss.as.patching.installation.Layer#loadTargetInfo()#getInstallationInfo()
org.jboss.as.patching.installation.Layer#loadTargetInfo()#getModulePatchDirectory(String)
(if it exists) to the pathsInstalledImage.getModulesDir()
}/system/add-onsorg.jboss.as.patching.installation.AddOn#loadTargetInfo()#getInstallationInfo()
org.jboss.as.patching.installation.AddOn#loadTargetInfo()#getModulePatchDirectory(String)
for the cumulative-patch-id (if it exists) to the pathsorg.jboss.as.patching.installation.AddOn#loadTargetInfo()#getInstallationInfo()
org.jboss.as.patching.installation.AddOn#loadTargetInfo()#getModulePatchDirectory(String)
(if it exists) to the pathsConstructor and Description |
---|
DirectoryStructure() |
Modifier and Type | Method and Description |
---|---|
abstract File |
getBundleRepositoryRoot()
Get the bundles repository root.
|
abstract File |
getBundlesPatchDirectory(String patchId)
Get the bundles patch directory for a given patch-id.
|
abstract File |
getInstallationInfo()
Get the installation metadata.
|
abstract InstalledImage |
getInstalledImage()
Get the installed image layout.
|
abstract File |
getModulePatchDirectory(String patchId)
Get the modules patch directory for a given patch-id.
|
abstract File |
getModuleRoot()
Get the module root.
|
public abstract InstalledImage getInstalledImage()
public abstract File getInstallationInfo()
public abstract File getBundleRepositoryRoot()
public abstract File getBundlesPatchDirectory(String patchId)
patchId
- the patch-idpublic abstract File getModuleRoot()
Copyright © 2023 JBoss by Red Hat. All rights reserved.