public final class Subtree extends Object
This is the primary mechanism used for unifying access to standalone and domain configuration files. The trick is
that the transformation script doesn't work on the file, it doesn't even work on the entire XML document (unless
explicitly requested using root()), it instead works on a set of subtrees. The kye here is that
for a vast majority of commonly used subtrees, it's possible to devise a single specification that can address them
correctly both in standalone and domain.
For example, Subtree.subsystem("infinispan") is a unique location both in standalone.xml and
domain.xml, given that there is a concept of default profile for the domain use.
Configuration files for domain have more concepts than the standalone ones, so there are domain-specific features here, but their use is minor.
| Modifier and Type | Method and Description |
|---|---|
static Subtree |
domainController() |
static Subtree |
extensions() |
static Subtree |
interfaces() |
static Subtree |
jvms() |
static Subtree |
management() |
static Subtree |
paths() |
static Subtree |
profile() |
static Subtree |
profiles() |
static Subtree |
root() |
static Subtree |
serverGroups() |
static Subtree |
servers() |
static Subtree |
socketBindingGroup() |
static Subtree |
socketBindingGroups() |
static Subtree |
subsystem(String subsystemName) |
static Subtree |
subsystemInProfile(String profileName,
String subsystemName) |
static Subtree |
systemProperties() |
public static Subtree root()
public static Subtree extensions()
public static Subtree systemProperties()
public static Subtree paths()
public static Subtree management()
public static Subtree profile()
public static Subtree interfaces()
public static Subtree socketBindingGroup()
public static Subtree profiles()
public static Subtree subsystemInProfile(String profileName, String subsystemName)
public static Subtree socketBindingGroups()
public static Subtree serverGroups()
public static Subtree domainController()
public static Subtree jvms()
public static Subtree servers()
Copyright © 2021. All rights reserved.