|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
All MBeans which logically contain other MBeans implement this interface; such an MBean is considered a Container, and the contained MBean is considered a Containee. The interface indicates the potential to contain other MBeans; at any given time MBeans may or may not be contained.
| Field Summary | |
static java.lang.String |
ATTR_CONTAINEE_J2EE_TYPES
Attribute returned by getContaineeJ2EETypes(). |
| 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, NAME_KEY, NO_NAME, NULL_NAME |
| Fields inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
LOG_RECORD_KEY, LOG_RECORD_NOTIFICATION_TYPE |
| Method Summary | |
java.util.Set |
getByNameContaineeSet(java.util.Set j2eeTypes,
java.lang.String name)
|
AMX |
getContainee(java.lang.String j2eeType)
Obtain the singleton MBean having the specified type. |
AMX |
getContainee(java.lang.String j2eeType,
java.lang.String name)
Get a singleton containee having the specified j2eeType and name. |
java.util.Set |
getContaineeJ2EETypes()
|
java.util.Map |
getContaineeMap(java.lang.String j2eeType)
Each key in the resulting Map is a String which is the value of the AMX.NAME_KEY for that AMX, which is the value. |
java.util.Set |
getContaineeSet()
Same as getContaineeSet( getContaineeJ2EETypes() ) |
java.util.Set |
getContaineeSet(java.util.Set j2eeTypes)
|
java.util.Set |
getContaineeSet(java.lang.String j2eeType)
|
java.util.Map |
getMultiContaineeMap(java.util.Set j2eeTypes)
Return a Map keyed by j2eeType. |
| Methods inherited from interface com.sun.appserv.management.base.AMX |
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName |
| Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
getMBeanEmitLogNotifications, getMBeanLoggerName, getMBeanLogLevel, setMBeanEmitLogNotifications, setMBeanLogLevel |
| Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
| Field Detail |
public static final java.lang.String ATTR_CONTAINEE_J2EE_TYPES
| Method Detail |
public java.util.Set getContaineeJ2EETypes()
Util.getNamesSet(java.util.Set)public java.util.Map getMultiContaineeMap(java.util.Set j2eeTypes)
getContaineeMap(java.lang.String).
If the passed Set is null, then all types are obtained. Pass
the set returned from getContaineeJ2EETypes() to get all currently
present containees.
j2eeTypes - the j2eeTypes to look for, or null for all
public java.util.Map getContaineeMap(java.lang.String j2eeType)
AMX, which is the value.
j2eeType - the j2eeType to look for
public AMX getContainee(java.lang.String j2eeType)
j2eeType -
AMX of specified j2eeType or null if not present
java.lang.IllegalArgumentException - if there is more than one item of this typeUtil.getNamesSet(java.util.Set)public java.util.Set getContaineeSet(java.lang.String j2eeType)
Util.getNamesSet(java.util.Set)public java.util.Set getContaineeSet()
Util.getNamesSet(java.util.Set),
getContaineeSet(java.util.Set)public java.util.Set getContaineeSet(java.util.Set j2eeTypes)
Util.getNamesSet(java.util.Set),
getMultiContaineeMap(java.util.Set)
public java.util.Set getByNameContaineeSet(java.util.Set j2eeTypes,
java.lang.String name)
Util.getNamesSet(java.util.Set)
public AMX getContainee(java.lang.String j2eeType,
java.lang.String name)
j2eeType - the j2eeType of the containedname - the name of the contained (as found in "name" property)
Util.getNamesSet(java.util.Set)
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.