[jboss-as7-dev] another approach to cli commands / operations
Max Rydahl Andersen
max.andersen at redhat.com
Fri Jun 17 10:09:38 EDT 2011
> connections, etc. So instead, I wrote one command that I called data-source.
>
> Now it looks like this (it's tab-completion)
>
> [standalone at localhost:9999 /] data-source java:/H2DS
does it tab complete the datasource name ?
> At the end, this will save the total number of the commands, avoid
> possible inconsistency between commands and operations (like supported
> properties and even operations), the changes in operations and
> properties will be immediately exposed through the cli w/o
> changing/introducing new cli commands.
sounds good.
> In addition, this data-source thing is actually no more than an alias to
> the node path, i.e. /subsystem=datasources/data-source. So, actually,
> this can be done for any component in a generic way, e.g. jms, etc. And
> even it could be customized by the user at runtime.
interesting.
> So, if anybody has suggestions or objections, please, let me know.
> Otherwise, I intend to do it this way. Not for CR1 though.
When then ? If its not in CR1 then it would have to AS 7.1 or?
/max
>
> Thanks,
> Alexey
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
/max
http://about.me/maxandersen
More information about the jboss-as7-dev
mailing list