JavaTM 2 Platform
Standard Ed. 5.0

javax.management
Ŭ·¡½º MBeanNotificationInfo

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.management.MBeanFeatureInfo 
      »óÀ§¸¦ È®Àå javax.management.MBeanNotificationInfo
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable, Cloneable
¾Ë·ÁÁø Á÷°è ¼­ºê Ŭ·¡½º:
ModelMBeanNotificationInfo

public class MBeanNotificationInfo
extends MBeanFeatureInfo
implements Cloneable, Serializable

MBeanNotificationInfo Ŭ·¡½º´Â MBean¿¡ ÀÇÇØ ¹ßÇàµÈ, ÁöÁ¤ÀÇ ÅëÁö Java Ŭ·¡½º¿¡ ´ëÇÑ º¹¼ö°¡ ´Ù¸¥ ÅëÁö ÀνºÅϽºÀÇ Æ¯¼ºÀ» ±â¼úÇÕ´Ï´Ù. MBean¿¡ ÀÇÇØ ¹ßÇàµÈ ÅëÁö°¡ ´Ù¸¥ Java Ŭ·¡½ºÀÇ ÀνºÅϽº°¡ µÉ °¡´É¼ºÀÌ ÀÖ´Â °æ¿ì, ÀÌ MBean ¸ÞŸµ¥ÀÌŸ´Â °¢°¢ÀÇ ÅëÁö Java Ŭ·¡½º¿¡ MBeanNotificationInfo °´Ã¼¸¦ Á¦°øÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.

ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽº´Â ºÒº¯ÀÔ´Ï´Ù. ¼­ºê Ŭ·¡½º´Â °¡º¯ÀÔ´Ï´Ù¸¸, ¼­ºê Ŭ·¡½ºÀÇ º¯°æÀº ÃßõÇÏÁö ¾Ê½À´Ï´Ù.

ÀÌ Å¬·¡½º´Â javax.management.MBeanFeatureInfo¸¦ È®ÀåÇØ, name ¹× description Çʵ带 Á¦°øÇÕ´Ï´Ù. name Çʵå´Â ÀÌ Å¬·¡½º¿¡ ÀÇÇØ ±â¼úµÇ´Â ÅëÁö °´Ã¼ÀÇ ¿ÏÀü ¼ö½Ä Java Ŭ·¡½º¸íÀÌ µË´Ï´Ù.

getNotifTypes ¸Þ¼­µå´Â MBean¿¡ ÀÇÇØ ¹ßÇàµÇ´Â ÅëÁöÇüÀ» Æ÷ÇÔÇÑ Ä³¸¯ÅÍ ¶óÀÎ ¹è¿­À» ¸®ÅÏÇÕ´Ï´Ù. ÅëÁöÇüÀº ÅëÁö Java Ŭ·¡½º°¡ ¾Æ´Ï°í, ¹ßÇàµÇ´Â ÅëÁö¿¡ ´ëÇØ ±â¼úÇÑ ´å Ç¥±â ij¸¯ÅÍ ¶óÀÎÀÌ µË´Ï´Ù. ´ÜÀÏÀÇ ¹ü¿ë Ç¥±â Ŭ·¡½º¸¦ »ç¿ëÇØ, º¹¼öÀÇ ÇüÅÂÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ ÇüÅ´ ¸ðµÎ, getNotifTypes ¸Þ¼­µå¿¡ ÀÇÇØ Ä³¸¯ÅÍ ¶óÀÎ ¹è¿­·Î¼­ ¸®Åϵ˴ϴ٠.

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

ÇÊµå °³¿ä
 
Ŭ·¡½º javax.management. MBeanFeatureInfo À¸·ÎºÎÅÍ »ó¼ÓµÈ Çʵå
description, name
 
»ý¼ºÀÚ °³¿ä
MBeanNotificationInfo (String [] notifTypes, String  name, String  description)
          MBeanNotificationInfo °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 Object clone ()
          ÀÌ ÀνºÅϽºÀÇ »þ·ÎÄÚÇǸ¦ ¸®ÅÏÇÕ´Ï´Ù.
 boolean equals (Object  o)
          ÀÌ MBeanAttributeInfo¸¦ ´Ù¸¥ MBeanAttributeInfo¿Í ºñ±³ÇÕ´Ï´Ù.
 String [] getNotifTypes ()
          MBean¿¡ ÀÇÇØ ¹ßÇàµÇ´Â ÅëÁöÇüÀ» Æ÷ÇÔÇÑ, ´å Ç¥±â Çü½ÄÀÇ Ä³¸¯ÅÍ ¶óÀÎ ¹è¿­À» ¸®ÅÏÇÕ´Ï´Ù.
 int hashCode ()
          °´Ã¼ÀÇ Çؽà Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º javax.management. MBeanFeatureInfo ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
getDescription, getName
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

MBeanNotificationInfo

public MBeanNotificationInfo(String [] notifTypes,
                             String  name,
                             String  description)
                      throws IllegalArgumentException 
MBeanNotificationInfo °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
notifTypes - MBean¿¡ ÀÇÇØ ¹ßÇàµÇ´Â ÅëÁöÇüÀ» Æ÷ÇÔÇÑ, ´å Ç¥±â Çü½ÄÀÇ Ä³¸¯ÅÍ ¶óÀÎ ¹è¿­. Á¦·ÎÀåÀÇ ¹è¿­À» ÁöÁ¤ÇßÀ» °æ¿ì¿Í °°°Ô, nullÀÌ µÇ´Â °æ¿ìµµ ÀÖ´Â
name - ±â¼úµÈ ÅëÁöÀÇ ¿ÏÀü ¼ö½Ä Java Ŭ·¡½º¸í
description - Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ µ¥ÀÌÅÍÀÇ ¼³¸í
¿¹¿Ü:
IllegalArgumentException
¸Þ¼­µåÀÇ »ó¼¼

clone

public Object  clone()
ÀÌ ÀνºÅϽºÀÇ »þ·ÎÄÚÇǸ¦ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ Ä«ÇÇ´Â super.clone() È£Ãâ (Object.clone()¿¡ ÀÇÇØ ±¸ÇöµÇ´Â µðÆúÆ®ÀÇ ³×ÀÌƼºê»þ·ÎÄÚÇÇ?@±¸ÀÇ È£Ãâ)¿¡ ÀÇÇØ ÃëµæµË´Ï´Ù. ³»ºÎ Çʵ忡 µµÂøÇØ, ´õ ÀÌ»ó »ó¼¼ÇÑ Ä«ÇÇ´Â ÀÛ¼ºµÇÁö ¾Ê½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ clone
¹Ýȯ°ª:
ÀÌ ÀνºÅϽºÀÇ º¹Á¦
°ü·Ã Ç׸ñ:
Cloneable

getNotifTypes

public String [] getNotifTypes()
MBean¿¡ ÀÇÇØ ¹ßÇàµÇ´Â ÅëÁöÇüÀ» Æ÷ÇÔÇÑ, ´å Ç¥±â Çü½ÄÀÇ Ä³¸¯ÅÍ ¶óÀÎ ¹è¿­À» ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
ij¸¯ÅÍ ¶óÀÎ ¹è¿­. ¸®ÅÏµÈ ¹è¿­À» º¯°æÇصµ, ÀÌ MBeanNotificationInfo¿¡ ¿µÇâÀº ¾ø´Ù

equals

public boolean equals(Object  o)
ÀÌ MBeanAttributeInfo¸¦ ´Ù¸¥ MBeanAttributeInfo¿Í ºñ±³ÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MBeanFeatureInfo ³»ÀÇ equals
ÆĶó¹ÌÅÍ:
o - ºñ±³ ´ë»óÀÇ °´Ã¼
¹Ýȯ°ª:
o°¡ MBeanNotificationInfo À̸ç, ±× MBeanFeatureInfo.getName(), MBeanFeatureInfo.getDescription() ¹× getNotifTypes() °ªÀÌ ÀÌ MBeanNotificationInfo¿Í µ¿ÀÏÇÑ (µ¿ÀÏÇÑ ÇÊ¿ä´Â ¾ø´Ù) °æ¿ì´Â true. ´ëÀÀÇÏ´Â ¿ä¼Ò°¡ µ¿ÀÏÇÑ °æ¿ì, 2°³ÀÇ ÅëÁöÇüÀÇ ¹è¿­Àº µ¿ÀÏÇÏ´Ù. ¿ä¼Ò´Â °°¾Æµµ Â÷·Ê°¡ ´Ù¸¥ °æ¿ì, 2°³ÀÇ ÅëÁöÇüÀÇ ¹è¿­Àº µ¿ÀÏÇÏÁö ¾ÊÀº
°ü·Ã Ç׸ñ:
Object.hashCode(), Hashtable

hashCode

public int hashCode()
Ŭ·¡½º Object ±â¼ú:
°´Ã¼ÀÇ Çؽà Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå´Â java.util.Hashtable¿¡ ÀÇÇØ Á¦°øµÇ´Â °Í °°Àº Çؽà Å×À̺í·Î »ç¿ëÇϱâ À§Çؼ­ ÁغñµÇ¾î ÀÖ½À´Ï´Ù.

hashCode ¸Þ¼­µåÀÇ ÀϹÝÀûÀÎ ±ÔÄ¢À» ´ÙÀ½¿¡ ³ªÅ¸³À´Ï´Ù.

ÇÒ ¼ö ÀÖ´Â ÇÑ, Object Ŭ·¡½º¿¡¼­ Á¤ÀǵǴ hashCode ¸Þ¼­µå´Â ´Ù¸¥ °´Ã¼¿¡ ´ëÇؼ­´Â ´Ù¸¥ Á¤¼ö°ªÀ» ¸®ÅÏÇÕ´Ï´Ù. º¸Åë, ÀÌ°ÍÀº °´Ã¼ÀÇ ³»ºÎ ÁÖ¼Ò¸¦ Á¤¼ö°ª ·Î º¯È¯ÇÏ´Â ÇüÅ·Π±¸ÇöµË´Ï´Ù¸¸, ±×·¯ÇÑ ±¸Çö Å×Å©´ÐÀº JavaTM ÇÁ·Î±×·¥ ¾ð¾î¿¡¼­´Â ºÒÇÊ¿äÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MBeanFeatureInfo ³»ÀÇ hashCode
¹Ýȯ°ª:
ÀÌ °´Ã¼ÀÇ Çؽà Äڵ尪
°ü·Ã Ç׸ñ:
Object.equals(java.lang.Object), Hashtable

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.