See the e-mail thread on admin@glassfish.java.net for details. The Open ESB team requested for this feature for consideration before V3. Basic requirements are:
- It should be possible to layer commands on top of GlassFish V2.next installation. It is acceptable if a config file (e.g. asadminenv.conf) is to be modified for V2.next so that asadmin understand where additional commands could be found.
- This should be delivered into a release immediately after V2 (this release is called V2.next hereafter).
Approach to Extension The approach is such that a layer sitting atop GlassFish V2.next (base product) should be able to leverage the command line parsing, environment variable handling, displaying command help and synopsis capabilities of the so-called CLI Framework. The asadmin program should be able to find and invoke the commands whose code might be available in a jar file other than admin-cli.jar. All the commands that asadmin invokes for GlassFish V2.next reside in this jar file. Tasks Involved Following tasks need to be done:
- Making CLIDescriptor Public
- Making CLI Framework Public
- Specifying the CLI Interface Extension Points
- Specifying Locations for Searching Commands
- Algorithm to Disambiguate Commands
- Displaying Command Help
- Adding a Capability to Dump All Commands and their Synopsis
|