dev@glassfish.java.net

Re: Identifying stand alone instance

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Thu, 08 Jul 2010 13:57:58 -0700

Depends on what you have. If you have a Server object you can call
getCluster() on it. Or if you have a Domain you can call
domain.getClusterForInstance()

isInstance() won't work -- it returns true for both clustered and
stand-alone instances


On 7/8/2010 11:19 AM, Mitesh Meswani wrote:
> ServerEnvironment#isInstance()
>
> On 7/8/2010 11:09 AM, Yamini K B wrote:
>> Hi,
>>
>> Whats the equivalent of v2's ServerHelper.isServerStandAlone() in v3.1
>>
>> -Yamini
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188