Novaordis-jboss: Difference between revisions
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
c.disconnect(); | c.disconnect(); | ||
</pre> | </pre> | ||
==Classpath== | ==Classpath== |
Revision as of 04:03, 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: