Skip to content

Commit

Permalink
ResourcesRecursively: draft
Browse files Browse the repository at this point in the history
  • Loading branch information
jkudrnac committed Nov 20, 2013
1 parent dfb7e83 commit 361dc0c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ public static void main(String[] args) throws Exception {
ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("localhost"), 9999);

ModelNode op = new ModelNode();
op.get("operation").set("read-attribute");

op.get("name").set("release-version");
// set operation

ModelNode returnVal = client.execute(op);


System.out.println(returnVal.get("result").toString());
// display results

client.close();

Expand Down

0 comments on commit 361dc0c

Please sign in to comment.