Class EmbeddedHostControllerFactory
- java.lang.Object
-
- org.wildfly.core.embedded.EmbeddedHostControllerFactory
-
public class EmbeddedHostControllerFactory extends Object
This is the host controller counterpart to EmbeddedProcessFactory which lives behind a module class loader.Factory that sets up an embedded
HostControllerusing modular classloading.To use this class the
jboss.home.dirsystem property must be set to the application server home directory. By default it will use the directories{$jboss.home.dir}/standalone/configas the configuration directory and{$jboss.home.dir}/standalone/dataas the data directory. This can be overridden with the${jboss.server.base.dir},${jboss.server.config.dir}or${jboss.server.config.dir}system properties as for normal server startup.If a clean run is wanted, you can specify
${jboss.embedded.root}to an existing directory which will copy the contents of the data and configuration directories under a temporary folder. This has the effect of this run not polluting later runs of the embedded server.- Author:
- Ken Wills
- See Also:
EmbeddedProcessFactory
-
-
Field Summary
Fields Modifier and Type Field Description static StringJBOSS_EMBEDDED_ROOT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HostControllercreate(File jbossHomeDir, org.jboss.modules.ModuleLoader moduleLoader, Properties systemProps, Map<String,String> systemEnv, String[] cmdargs, ClassLoader embeddedModuleCL)
-
-
-
Field Detail
-
JBOSS_EMBEDDED_ROOT
public static final String JBOSS_EMBEDDED_ROOT
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static HostController create(File jbossHomeDir, org.jboss.modules.ModuleLoader moduleLoader, Properties systemProps, Map<String,String> systemEnv, String[] cmdargs, ClassLoader embeddedModuleCL)
-
-