dev@glassfish.java.net

Re: API to determine what configuration my server is running

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Tue, 29 Aug 2006 19:17:33 -0700

Lloyd L Chambers wrote:
> Anissa,
>
> Use the AMX SystemInfo
> <https://glassfish.dev.java.net/nonav/javaee5/amx/javadoc/com/sun/appserv/management/base/SystemInfo.html>
> MBean:
>
> final boolean multipleServers = systemInfo.supportsFeature(
> CLUSTERS_FEATURE );

Thanks. Thats exactly what i am looking for.

Anissa.
>
> Lloyd Chambers
>
> On Aug 29, 2006, at 2:54 PM, Anissa Lam wrote:
>
>>
>> I am looking for an API that i can use to determine at runtime
>> whether my domain is configured with cluster support or not. In
>> other words, how can i tell whether i am running in a configuration
>> that results from doing 'configure-runtime' (PE) or
>> 'configure-cluster' (EE)?
>>
>> thanks
>> Anissa.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>> <mailto:dev-help_at_glassfish.dev.java.net>
>>
>