JBoss Community Archive (Read Only)


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-11 12:43:27 UTC, last content change 2012-10-02 15:45:24 UTC.