public class WildflyClient<T extends WildflyConfiguration> extends Client<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.as.cli.CommandContext |
context |
configuration| Constructor and Description |
|---|
WildflyClient(T configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeInternal() |
protected void |
connectInternal() |
protected org.jboss.as.controller.client.ModelControllerClient |
createClient(InetAddress host,
int port,
String username,
String password) |
protected org.jboss.as.cli.CommandContext |
createContext(org.jboss.as.controller.client.ModelControllerClient client) |
protected void |
executeInternal(List<String> commands) |
protected void |
executeInternal(String command) |
org.jboss.dmr.ModelNode |
getCommandResult() |
boolean |
isConnected() |
public WildflyClient(T configuration)
public boolean isConnected()
isConnected in class Client<T extends WildflyConfiguration>protected void connectInternal()
throws Exception
connectInternal in class Client<T extends WildflyConfiguration>Exceptionprotected void executeInternal(String command) throws Exception
executeInternal in class Client<T extends WildflyConfiguration>Exceptionprotected void executeInternal(List<String> commands) throws Exception
executeInternal in class Client<T extends WildflyConfiguration>Exceptionprotected void closeInternal()
throws IOException
closeInternal in class Client<T extends WildflyConfiguration>IOExceptionpublic org.jboss.dmr.ModelNode getCommandResult()
protected org.jboss.as.controller.client.ModelControllerClient createClient(InetAddress host, int port, String username, String password)
protected org.jboss.as.cli.CommandContext createContext(org.jboss.as.controller.client.ModelControllerClient client)
Copyright © 2021. All rights reserved.