public class EmbeddedServerInvoker extends Object
| Constructor and Description |
|---|
EmbeddedServerInvoker(org.jboss.galleon.MessageWriter messageWriter,
Path installationDir,
String config) |
| Modifier and Type | Method and Description |
|---|---|
static Path |
createEmbeddedHostControllerScript(String domainConfig,
String hostConfig,
List<String> commands) |
Path |
createEmbeddedStandaloneScript(List<String> commands) |
void |
execute(List<String> commands)
Starts an embedded server to execute commands
|
void |
execute(String... commands)
Starts an embedded server to execute commands
|
static String |
startEmbeddedHostControllerCommand(String domainConfig,
String hostConfig) |
String |
startEmbeddedServerCommand() |
public Path createEmbeddedStandaloneScript(List<String> commands) throws org.jboss.galleon.ProvisioningException
org.jboss.galleon.ProvisioningExceptionpublic static Path createEmbeddedHostControllerScript(String domainConfig, String hostConfig, List<String> commands) throws org.jboss.galleon.ProvisioningException
org.jboss.galleon.ProvisioningExceptionpublic String startEmbeddedServerCommand()
public static String startEmbeddedHostControllerCommand(String domainConfig, String hostConfig)
public void execute(String... commands) throws org.jboss.galleon.ProvisioningException
commands - the list of commands to execute on the embedded server.org.jboss.galleon.ProvisioningExceptionCopyright © 2016–2018 JBoss by Red Hat. All rights reserved.