public final class LayeredBundlePathFactory extends Object
ServerEnvironment.
Note: This is an adaptation of the org.jboss.modules.LayeredModulePathFactory
class in jboss-modules, which performs a similar function for module loading.
| Constructor and Description |
|---|
LayeredBundlePathFactory() |
| Modifier and Type | Method and Description |
|---|---|
static List<File> |
resolveLayeredBundlePath(File... bundlePath)
Inspects each element in the given
bundlePath to see if it includes a layers.conf file
and/or a standard directory structure with child directories system/layers and, optionally,
system/add-ons. |
static List<File> |
resolveLayeredBundlePath(org.jboss.as.server.ServerEnvironment serverEnvironment)
Provides a precedence-ordered list of locations from which bundles can be loaded based on the given
ServerEnvironment. |
public static List<File> resolveLayeredBundlePath(org.jboss.as.server.ServerEnvironment serverEnvironment)
ServerEnvironment.public static List<File> resolveLayeredBundlePath(File... bundlePath)
bundlePath to see if it includes a layers.conf file
and/or a standard directory structure with child directories system/layers and, optionally,
system/add-ons. If so, the layers identified in layers.conf are added to the module pathbundlePath - the filesystem locations that make up the standard bundle path, each of which is to be
checked for the presence of layers and add-onsCopyright © 2016 JBoss by Red Hat. All rights reserved.