|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SystemInfo
Provides information about the capabilities of the running server. Callers should check only for specific capabilities, never whether the server is PE/SE/EE, since the feature assortment could vary with release.
| Field Summary | |
|---|---|
static String |
CLUSTERS_FEATURE
Call supportsFeature() with this value to determine if the server supports clusters. |
static String |
J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType(). |
static String |
MULTIPLE_SERVERS_FEATURE
Call supportsFeature() with this value to determine if the server supports more than one server. |
static String |
RUNNING_IN_DAS_FEATURE
Call supportsFeature() with this value to determine if this MBean is running in the Domain Admin Server. |
| Fields inherited from interface com.sun.appserv.management.base.AMX |
|---|
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
| Method Summary | |
|---|---|
String[] |
getFeatureNames()
Return all features names. |
boolean |
supportsFeature(String key)
Query whether a feature is supported. |
| Methods inherited from interface com.sun.appserv.management.base.AMX |
|---|
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS |
| Methods inherited from interface javax.management.NotificationEmitter |
|---|
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
|---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
| Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
|---|
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel |
| Field Detail |
|---|
static final String J2EE_TYPE
AMX.getJ2EEType().
static final String CLUSTERS_FEATURE
static final String MULTIPLE_SERVERS_FEATURE
static final String RUNNING_IN_DAS_FEATURE
| Method Detail |
|---|
boolean supportsFeature(String key)
key - the feature to queryString[] getFeatureNames()
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.