JBoss Community Archive (Read Only)

RHQ 4.9

Adding a new remote interface to the CLI

The list of available remote "managers" that the CLI can access (i.e. the list of remote EJBs we make accessible to the CLI) is not automagically generated but rather hardcoded in the form of the org.rhq.bindings.client.RhqManager enumeration.

To add a new remote interface to our remote API you simply need to add an entry to this enumeration, filling all the necessary info (the "${Blah}" are replaced by actual values at build time by maven resources) and rebuilding the bindings module.

The crude method of deploying is then to copy the new jar to $RHQ_SERVER/jbossas/server/default/deploy/rhq.ear/lib and the $CLI_HOME/lib (and restarting the server and the CLI). The proper way is to rebuild the RHQ from source and redeploy the server and the CLI.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 08:04:05 UTC, last content change 2013-09-18 19:41:34 UTC.