|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.util.EventObject
javax.management.Notification
javax.management.AttributeChangeNotification
public class AttributeChangeNotification
MBean¿¡ ÀÇÇØ ¼Û½ÅµÇ´Â ¼Ó¼º º¯°æ ÅëÁö¸¦ Á¤ÀÇÇÕ´Ï´Ù.
¼Ó¼ºÀÌ º¯°æµÇ¾úÀ» ¶§ ¼Ó¼º º¯°æ ÅëÁö¸¦ ÀÛ¼ºÇØ, ¼Û½ÅÇÏ´Â °ÍÀº ±× ¼Ó¼ºÀ» ¼ÒÀ¯ÇÏ´Â MBean ÀÔ´Ï´Ù. µû¶ó¼, ¼Ó¼ºÀÌ º¯°æµÇ´Â MBean´Â
NotificationBroadcaster
ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
¿¹: MBean¿¡ ÀÇÇØ È£ÃâµÇ´Â myMbean
´Â
´ÙÀ½ÀÇ ¼Ó¼ºÀÌ º¯°æµÇ¾úÀ» ¶§, µî·ÏÀ» ¸¶Ä£ ¸®½º³Ê¿¡°Ô ÅëÁö¸¦ º¸³¾ Çʿ䰡 ÀÖ½À´Ï´Ù.
String myString
myMbean
¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾î ¼Û½ÅµÇ´Â ÅëÁöÀÇ ³»¿ëÀº ´ÙÀ½°ú °°½À´Ï´Ù. new AttributeChangeNotification(myMbean, sequenceNumber, timeStamp, msg, "myString", "String", oldValue, newValue);
ÇÊµå °³¿ä | |
---|---|
static String |
ATTRIBUTE_CHANGE
°¨½Ã ´ë»óÀÇ MBean ¼Ó¼º°ªÀÌ º¯°æµÈ °ÍÀ» ³ªÅ¸³»´Â ÅëÁöÇüÀÔ´Ï´Ù. |
Ŭ·¡½º javax.management. Notification ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
source |
»ý¼ºÀÚ °³¿ä | |
---|---|
AttributeChangeNotification (Object source,
long sequenceNumber,
long timeStamp,
String msg,
String attributeName,
String attributeType,
Object oldValue,
Object newValue)
¼Ó¼º º¯°æ ÅëÁö °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
String |
getAttributeName ()
º¯°æµÈ ¼Ó¼ºÀÇ À̸§À» ÃëµæÇÕ´Ï´Ù. |
String |
getAttributeType ()
º¯°æµÈ ¼Ó¼ºÀÇ ÇüŸ¦ ÃëµæÇÕ´Ï´Ù. |
Object |
getNewValue ()
º¯°æµÈ ¼Ó¼ºÀÇ »õ·Î¿î °ªÀ» ÃëµæÇÕ´Ï´Ù. |
Object |
getOldValue ()
º¯°æµÈ ¼Ó¼ºÀÇ ³°Àº °ªÀ» ÃëµæÇÕ´Ï´Ù. |
Ŭ·¡½º javax.management. Notification ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getMessage,
getSequenceNumber,
getTimeStamp,
getType,
getUserData,
setSequenceNumber,
setSource,
setTimeStamp,
setUserData,
toString |
Ŭ·¡½º java.util. EventObject ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getSource |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static final String ATTRIBUTE_CHANGE
jmx.attribute.change
ÀÔ´Ï´Ù.
»ý¼ºÀÚ »ó¼¼ |
---|
public AttributeChangeNotification(Object source, long sequenceNumber, long timeStamp, String msg, String attributeName, String attributeType, Object oldValue, Object newValue)
source
- ÅëÁöÀÇ ¼Ò½º. ±× ¼Ó¼ºÀ» ¼ÒÀ¯ÇÏ´Â MBeansequenceNumber
- ¼Ò½º °´Ã¼³»ÀÇ ÅëÁö ¼ø¼ ¹øÈ£timeStamp
- ÅëÁö°¡ ¼Û½ÅµÇ´Â ³¯Â¥¿Í ½Ã°£msg
- ÅëÁöÀÇ ¸Þ¼¼Áö¸¦ Æ÷ÇÔÇÑ StringattributeName
- ¼Ó¼ºÀÇ À̸§À» ÁöÁ¤ÇÏ´Â StringattributeType
- ¼Ó¼ºÀÇ ÇüŸ¦ Æ÷ÇÔÇÑ StringoldValue
- ¼Ó¼ºÀÇ º¯°æÀüÀÇ °ªÀ» ³ªÅ¸³»´Â °´Ã¼newValue
- ¼Ó¼ºÀÇ º¯°æ ÈÄÀÇ °ªÀ» ³ªÅ¸³»´Â °´Ã¼¸Þ¼µåÀÇ »ó¼¼ |
---|
public String getAttributeName()
public String getAttributeType()
public Object getOldValue()
public Object getNewValue()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.