|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The super interface for all MBeans. Specific MBeans implement sub-interfaces of these MBeans, such as ServerMBean, ClusterMBean, ServerRuntimeMBean, etc.
There are three kinds of MBeans:
Administration MBeans - Represent the configured properties of various subcomponents of the server. They are created as an image of the configuration repository when the Administration server starts up.
Configuration MBeans - Each administration MBean has an "active instance" or working copy (one for each running server), which is cloned from it and used by the relevant subsystems after applying any overrides (for example, at the command line). These are called configuration MBeans.
Runtime MBeans - represent the runtime transient state of the underlying resource or subsystem which they represent. For instance, ServerRuntimeMBean has metrics like 'OpenSocketsCurrentCount' and 'SocketsOpenedTotalCount'
NOTE:
1. An administration MBean and its corresponding configuration MBean implement the same interface. At any point in time the configuration MBeans contain the property values actually being used by the server. Any configuration changes should be applied to administration MBeans, and these changes are automatically propagated by the admin server to the relevant configuration MBeans, when appropriate.
2. Runtime MBeans implement their own interfaces.
3. Administration MBeans and Configuration MBeans are differentiated based on the their objectnames. For details see WebLogicObjectName.
WebLogicObjectName
,
weblogic.management.configuration,
weblogic.management.runtimeMethod Summary | |
javax.management.MBeanInfo |
getMBeanInfo()
Returns the MBean info for this MBean. |
java.lang.String |
getName()
Returns the name of the MBean. |
WebLogicObjectName |
getObjectName()
Returns the ObjectName under which this MBean is registered in the MBean server. |
WebLogicMBean |
getParent()
Return the immediate parent for this MBean |
java.lang.String |
getType()
Returns the type of the MBean. |
boolean |
isCachingDisabled()
Private property that disables caching in proxies. |
boolean |
isRegistered()
Returns false if the the MBean represented by this object has been unregistered. |
void |
setName(java.lang.String name)
Set the name of the MBean. |
void |
setParent(WebLogicMBean parent)
Change the parent for this MBean |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name) throws javax.management.InvalidAttributeValueException, ManagementException
public java.lang.String getType()
public WebLogicObjectName getObjectName()
public javax.management.MBeanInfo getMBeanInfo()
public boolean isCachingDisabled()
public WebLogicMBean getParent()
public void setParent(WebLogicMBean parent) throws ConfigurationException
public boolean isRegistered()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |