Novaordis-jboss: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 8: Line 8:


Adapter library for JBoss CLI and other JBoss-related functionality.
Adapter library for JBoss CLI and other JBoss-related functionality.
=GitHub=
{{External|https://github.com/NovaOrdis/novaordis-jboss}}


=User Manual=
=User Manual=
Line 42: Line 46:


<font color=red>TODO</font>.
<font color=red>TODO</font>.
=Development=
==GitHub==
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;">
:https://github.com/NovaOrdis/jboss-cli<br>
</blockquote>
==TODO==

Latest revision as of 05:45, 22 June 2017

Internal

Overview

Adapter library for JBoss CLI and other JBoss-related functionality.

GitHub

https://github.com/NovaOrdis/novaordis-jboss

User Manual

The library provides programmatic access to a JBoss CLI controller.

The interaction pattern is similar to:

JBossControllerClient c = new JBossControllerClient();
c.setHost("localhost");
c.setPort(9999);
c.setUser("admin");
c.setPassword(...);

c.connect();

c.getAttributeValue("something");

c.disconnect();

io.novaordis.jboss.cli.Main contains the above simple example. It can be executed with ./src/main/bash/jboss-cli.

Classpath

Before connecting locally to a specific JBoss instance, the bash wrapper must built the specific classpath for that JBoss instance. The project also contains bash logic that builds the required classpath fragment given the JBOSS_HOME directory:

https://github.com/NovaOrdis/jboss-cli/blob/master/src/main/bash/jboss-cli.shlib

Logging Configuration

TODO.