|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.modules.plugins.jbossas7.ASConnection
public class ASConnection
Provide connections to the AS and reading / writing date from/to it.
| Field Summary | |
|---|---|
static String |
MANAGEMENT
|
static boolean |
verbose
|
| Constructor Summary | |
|---|---|
ASConnection(String host,
int port,
String user,
String password)
Construct an ASConnection object. |
|
| Method Summary | |
|---|---|
Result |
execute(Operation op)
Execute the passed Operation and return its Result. |
Result |
execute(Operation op,
boolean isComplex)
Execute the passed Operation and return its Result. |
ComplexResult |
executeComplex(Operation op)
Execute the passed Operation and return its ComplexResult. |
org.codehaus.jackson.JsonNode |
executeRaw(Operation operation)
Execute an operation against the domain api. |
String |
getHost()
|
int |
getPort()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MANAGEMENT
public static boolean verbose
| Constructor Detail |
|---|
public ASConnection(String host,
int port,
String user,
String password)
host - Host of the DomainController or standalone serverport - Port of the JSON api.user - user needed for authenticationpassword - password needed for authentication| Method Detail |
|---|
public org.codehaus.jackson.JsonNode executeRaw(Operation operation)
operation - an Operation that should be run on the domain controller
execute(org.rhq.modules.plugins.jbossas7.json.Operation),
execute(org.rhq.modules.plugins.jbossas7.json.Operation, boolean),
executeComplex(org.rhq.modules.plugins.jbossas7.json.Operation)public Result execute(Operation op)
op - Operation to execute
execute(org.rhq.modules.plugins.jbossas7.json.Operation, boolean)public ComplexResult executeComplex(Operation op)
op - Operation to execute
execute(org.rhq.modules.plugins.jbossas7.json.Operation, boolean)
public Result execute(Operation op,
boolean isComplex)
op - Operation to executeisComplex - should a complex result be returned?
public String getHost()
public int getPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||