Does this show up as a command or something that would be available via
the REST interface? How would the admin console use this?
Tom
On 6/3/2010 1:42 PM, Byron Nevins wrote:
> I added new code to Domain.java that are similar to what you want
>
> List<ReferenceContainer> getAllReferenceContainers()
>
> That will return all instances, DAS and clusters
>
> I also added 4 methods to ReferenceContainer: (so you can check what
> the object really is)
>
> isDas()
> isInstance()
> isCluster()
> isServer()
>
> On 6/3/2010 11:03 AM, Vince Kraemer wrote:
>> Anissa Lam wrote:
>>>
>>> Most of the CLI will take in --target as one of the options, yet,
>>> we don't have a command to show what targets are available to be
>>> supplied to the command.
>>> User can do 'list-clusters' to list out all the clusters, but
>>> there doesn't seem to be a way to list out just stand-alone
>>> instances. 'list-instances' list out ALL instances, whether it
>>> is in a cluster or not.
>>> If we have a 'list-targets' command, which list out all the
>>> cluster and standalone instances, that will enhance usability. [snip]
>>> Thoughts ?
>>
>> that is an awesome RFE. I think it will also make it easier for
>> folks that need to write scripts that would initialize a large
>> deployment/production environment.
>>
>>>
>>> thanks
>>> Anissa.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
--
Oracle <http://www.oracle.com>
Tom Mueller | Principal Member of Technical Staff
Phone: +1 4029169943 | Fax: +1 4029169943 | Mobile: +1 4027206872
21915 Hillandale Dr | Elkhorn, NE 68022
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment