Novaordis-jboss: Difference between revisions
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
:https://github.com/NovaOrdis/jboss-cli/blob/master/src/main/bash/jboss-cli.shlib<br> | :https://github.com/NovaOrdis/jboss-cli/blob/master/src/main/bash/jboss-cli.shlib<br> | ||
</blockquote> | </blockquote> | ||
==Logging Configuration== | |||
=Development= | =Development= |
Revision as of 04:13, 3 September 2016
Internal
Overview
Adapter library for JBoss CLI.
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();
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: