|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.management.MBeanInfo
javax.management.openmbean.OpenMBeanInfoSupport
public class OpenMBeanInfoSupport
OpenMBeanInfoSupport Ŭ·¡½º´Â ¡¸°ø°³ MBean¡¹ÀÇ °ü¸® Á¤º¸¸¦ ±â¼úÇÕ´Ï´Ù. À̰ÍÀº, MBeanInfo
¼ºê Ŭ·¡½ºÀ̸ç, OpenMBeanInfo
ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÕ´Ï´Ù. ¡¸°ø°³ MBean¡¹ÀÇ getMBeanInfo() ¸Þ¼µå´Â OpenMBeanInfo ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇϴ Ŭ·¡½ºÀÇ ÀνºÅϽº (º¸Åë
OpenMBeanInfoSupport)¸¦ µ¹·ÁÁÖ°Ô µÇ¾î ÀÖ½À´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
OpenMBeanInfoSupport (String className,
String description,
OpenMBeanAttributeInfo [] openAttributes,
OpenMBeanConstructorInfo [] openConstructors,
OpenMBeanOperationInfo [] openOperations,
MBeanNotificationInfo [] notifications)
ÁöÁ¤µÈ className, description, openAttributes, openConstructors, openOperations ¹× notifications¸¦ °¡Áö´Â °ø°³ MBean Ŭ·¡½º¸¦ ±â¼úÇÏ´Â OpenMBeanInfoSupport ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
boolean |
equals (Object obj)
ÁöÁ¤µÈ obj ÆÄ¶ó¹ÌÅÍ¿Í ÀÌ OpenMBeanInfoSupport ÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ºñ±³ÇÕ´Ï´Ù. |
int |
hashCode ()
ÀÌ OpenMBeanInfoSupport ÀνºÅϽºÀÇ ÇØ½Ã Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù. |
String |
toString ()
ÀÌ OpenMBeanInfoSupport ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º javax.management. MBeanInfo ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
getAttributes,
getClassName,
getConstructors,
getDescription,
getNotifications,
getOperations |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
ÀÎÅÍÆäÀ̽º javax.management.openmbean. OpenMBeanInfo ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getAttributes,
getClassName,
getConstructors,
getDescription,
getNotifications,
getOperations |
»ý¼ºÀÚ »ó¼¼ |
---|
public OpenMBeanInfoSupport(String className, String description, OpenMBeanAttributeInfo [] openAttributes, OpenMBeanConstructorInfo [] openConstructors, OpenMBeanOperationInfo [] openOperations, MBeanNotificationInfo [] notifications)
openAttributes, openConstructors, openOperations ¹× notifications ¹è¿ ÆÄ¶ó¹ÌÅÍ´Â ÀÌ·¯ÇÑ ÆÄ¶ó¹ÌÅ͸¦ »ç¿ëÇØ ÂüÁ¶µÇ´Â ±× ÈÄÀÇ ¹è¿ÀÇ º¯°æÀÌ ÀÌ ÀνºÅϽº¿¡ ¿µÇâÀ» ¹ÌÄ¡Áö ¾Ê°Ô, ³»ºÎ¿¡¼ º¹»çµË´Ï´Ù.
className
- ÀÌ OpenMBeanInfoSupport
ÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °ø°³ MBean
¿ÏÀü ¼ö½Ä Java Ŭ·¡½º¸ídescription
- ÀÌ OpenMBeanInfoSupport
ÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °ø°³ MBean
Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ¼³¸íopenAttributes
- ±â¼úµÈ °ø°³ MBean
°ø°³ ¼Ó¼ºÀÇ ¸®½ºÆ®. MBeanAttributeInfo
¼ºê Ŭ·¡½º (º¸Åë
OpenMBeanAttributeInfoSupport)ÀÇ ÀνºÅϽºÀÇ ¹è¿ÀÌ ¾Æ´Ï¸é ¾ÈµÇ´ÂopenConstructors
- ±â¼úµÈ °ø°³ MBean
°ø°³ public »ý¼ºÀÚ ¸®½ºÆ®. MBeanConstructorInfo
¼ºê Ŭ·¡½º (º¸Åë
OpenMBeanConstructorInfoSupport)ÀÇ ÀνºÅϽºÀÇ ¹è¿ÀÌ ¾Æ´Ï¸é ¾ÈµÇ´ÂopenOperations
- ±â¼úµÈ °ø°³ MBean
°ø°³ ¿ÀÆÛ·¹À̼ÇÀÇ ¸®½ºÆ®. MBeanOperationInfo
¼ºê Ŭ·¡½º (º¸Åë
OpenMBeanOperationInfoSupport)ÀÇ ÀνºÅϽºÀÇ ¹è¿ÀÌ ¾Æ´Ï¸é ¾ÈµÇ´Ânotifications
- ±â¼úµÈ °ø°³ MBean ·ÎºÎÅÍ ¹ßÇàµÈ ÅëÁöÀÇ ¸®½ºÆ®
ArrayStoreException
- openAttributes, openConstructors, ¶Ç´Â openOperations ÀÌ, °¢°¢ MBeanAttributeInfo, MBeanConstructorInfo, ¶Ç´Â MBeanOperationInfo
¼ºê Ŭ·¡½ºÀÇ ÀνºÅϽºÀÇ ¹è¿ÀÌ ¾Æ´Ñ °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public boolean equals(Object obj)
OpenMBeanInfoSupport
ÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ºñ±³ÇÕ´Ï´Ù.
´ÙÀ½ÀÇ ¸ðµç Á¶°ÇÀÌ Ã¤¿öÁö°í ÀÖ´Â °æ¿ì¿¡ ÇÑÇØ, true¸¦ ¸®ÅÏÇÕ´Ï´Ù.
OpenMBeanInfo
ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇϰí ÀÖ´ÙOpenMBeanInfo
ÀÎÅÍÆäÀ̽º°¡ ´Ù¸¥ ±¸ÇöÀÎ obj ÆÄ¶ó¹ÌÅÍ¿¡ ´ëÇØ¼ Á¤»óÀûÀ¸·Î ±â´ÉÇÕ´Ï´Ù.
OpenMBeanInfo
³»ÀÇ equals
MBeanInfo
³»ÀÇ equals
obj
- ÀÌ OpenMBeanInfoSupport
ÀνºÅϽº¿Í µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ºñ±³ÇÏ´Â °´Ã¼
OpenMBeanInfoSupport
ÀνºÅϽº¿Í µ¿ÀÏÇÑ °æ¿ì´Â true
Object.hashCode()
,
Hashtable
public int hashCode()
OpenMBeanInfoSupport
ÀνºÅϽºÀÇ ÇØ½Ã Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù.
OpenMBeanInfoSupport
ÀνºÅϽºÀÇ ÇØ½Ã ÄÚµå´Â equals
ºñ±³·Î »ç¿ëµÈ ¸ðµç Á¤º¸ ¿ä¼Ò (Ŭ·¡½º¸í°ú ¼Ó¼º, »ý¼ºÀÚ,
¿ÀÆÛ·¹ÀÌ¼Ç ¹× ÅëÁö¿¡ °üÇÑ Á¤º¸. °³°³ÀÇ ¹è¿ÀÇ hashCode´Â new java.util.HashSet(java.util.Arrays.asList(this.getSignature)). hashCode()
È£Ãâ¿¡ ÀÇÇØ °è»êµÈ´Ù)ÀÇ ÇØ½Ã ÄÚµåÀÇ ÇÕ°èÀÔ´Ï´Ù.
À̰Ϳ¡ ÀÇÇØ
Object.hashCode()
¸Þ¼µåÀÇ ÀÏ¹Ý ±Ô¾à¿¡ ÀÇÇØ ¿ä±¸µÇ´Â ÀÓÀÇÀÇ 2°³ÀÇ OpenMBeanInfoSupport
ÀνºÅϽº t1
¿Í
t2
·Î
t1.equals(t2)
À̸é t1.hashCode() ==t2.hashCode()
°¡ µÇ´Â °ÍÀÌ º¸ÁõµË´Ï´Ù.
OpenMBeanInfo
ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â ´Ù¸¥ Ŭ·¡½º ÀνºÅϽº°¡equals(java.lang.Object)
·Î Á¤Àǵǰí ÀÖµµ·Ï, ÀÌ OpenMBeanInfoSupport
ÀνºÅϽº¿Í µ¿ÀÏÇØÁö´Â °æ¿ìµµ ÀÖ½À´Ï´Ù. ±×·¯³ª, °è»ê¹æ¹ýÀÌ Â÷À̰¡ ³ª±â ¶§¹®¿¡
ÇØ½Ã Äڵ嵵 Â÷À̰¡ ³¯ °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù.
OpenMBeanInfoSupport
ÀνºÅϽº´Â ºÒº¯À¸·Î ÀÌ ÀνºÅϽºÀÇ ÇØ½Ã ÄÚµå´Â hashCode
ÃÖÃÊÀÇ È£Ãâ½Ã¿¡ 1ȸ
¸¸ °è»êµË´Ï´Ù. ±× ÈÄÀÇ È£Ãâ¿¡´Â °°Àº °ªÀÌ ¸®Åϵ˴ϴÙ
.
OpenMBeanInfo
³»ÀÇ hashCode
MBeanInfo
³»ÀÇ hashCode
OpenMBeanInfoSupport
ÀνºÅϽºÀÇ ÇØ½Ã Äڵ尪
Object.equals(java.lang.Object)
,
Hashtable
public String toString()
OpenMBeanInfoSupport
ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» ¸®ÅÏÇÕ´Ï´Ù.
ÀÌ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀº ÀÌ Å¬·¡½ºÀÇ À̸§ (javax.management.openmbean.OpenMBeanInfoSupport
), MBean Ŭ·¡½º¸í°ú ±â¼úµÈ MBean
¼Ó¼º, »ý¼ºÀÚ,
¿ÀÆÛ·¹ÀÌ¼Ç ¹× ÅëÁö¿¡ °üÇÑ Á¤º¸ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ¸·Î ±¸¼ºµË´Ï´Ù.
OpenMBeanInfoSupport
ÀνºÅϽº´Â ºÒº¯À¸·Î ÀÌ ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀº, toString
ÃÖÃÊÀÇ È£Ãâ½Ã¿¡ 1ȸ
¸¸ °è»êµË´Ï´Ù. ±× ÈÄÀÇ È£Ãâ¿¡´Â °°Àº °ªÀÌ ¸®Åϵ˴ϴÙ
.
OpenMBeanInfo
³»ÀÇ toString
Object
³»ÀÇ toString
OpenMBeanInfoSupport
ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.