Novaordis-jboss: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page Jboss-cli to Novaordis-jboss without leaving a redirect)
Line 7: Line 7:
=Overview=
=Overview=


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


=User Manual=
=User Manual=

Revision as of 04:30, 22 June 2017

Internal

Overview

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

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.

Development

GitHub

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

TODO