JDK-6412690 : Please add scripting console as a demo jconsole plugin
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-04-13
  • Updated: 2010-08-24
  • Resolved: 2006-04-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b83Fixed
Related Reports
Relates :  
Description
Jconsole supports a plugin API to add custom tabs (see CR 6179281). Scripting console is an interactive (REPL - Read-Eval-Print-Loop) console tab for jconsole. With script console, user can run arbitrary script interactively or by batch (by loading it from a script file). Jconsole plugin API's JConsoleContext will be exposed as a built-in variable to script engine. Using this, script engine can support arbitrary set of built-in functions for scripts to operate. For example, with JavaScript, top-level functions may be added to assist M&M functionality in scripts.

Comments
SUGGESTED FIX Webrev: http://bongo.india.sun.com/jsr223/jconsole-script-console/6412690/webrev/ Also refer to the attachment "webrev.tar"
21-04-2006

EVALUATION This demo RFE will demonstrate javax.script API and jconsole plugin API by a simple script console plugin. Also, the demo serves as a useful (not just a "demo") extension to jconsole.
14-04-2006