admin@glassfish.java.net

Re: list-instances

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Mon, 17 May 2010 16:01:16 -0700

Byron Nevins wrote on 05/17/10 01:29 PM:
> list-instances is working. It's a remote command. It will hunt down
> each instance and report on whether or not it is running.
>
> I'd just as soon make it a generic CRUD command to get the list of
> servers and then attach the code that does the network-discovery work.
> But I don't see any way of customizing Generic List to do that so I'll
> keep it as-is...

Jerome says there's a decorator you can add to a CRUD command
description where you specify the additional code you want to
run after the CRUD work is done. I'm sure it's fully specified
on the wiki page he wrote! :-)