Download Red Hat JBoss Operations Network 3.3 Writing JBoss ON Command
Transcript
Red Hat JBoss O perat ions Net work 3.3 Writ ing JBoss O N Command- Line Script s Part II. Basic Examples for Running JBoss ON Scripts Through the CLI One of the ways to run scripts on the JBoss ON server is through the JBoss ON CLI. [1] The JBoss ON CLI is essentially a script interpreter which processes JavaScript — either interactively or from a file — and executes it inside the Java virtual machine. The CLI uses the server's remote API, an underlying domain API, and some of its own CLI-specific methods to make common tasks easier to execute. The remote API, domain API, and CLI-specific methods are exposed to CLI and to scripts so that they can be easily used. Report a bug [1] 20 Other methods include alert scripts and custom clients.