JavaTM 2 Platform
Standard Ed. 5.0

javax.management
Ŭ·¡½º MBeanFeatureInfo

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

public class MBeanFeatureInfo
extends Object
implements Serializable

MBean ±â¼ú °´Ã¼¿¡ ÀÏ¹Ý Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù. ±â¼úµÇ´Â ³»¿ëÀº ¼Ó¼º, ¿ÀÆÛ·¹À̼Ç, ÆĶó¹ÌÅÍ, ¶Ç´Â ÅëÁöÀÔ´Ï´Ù. ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽº´Â ºÒº¯ÀÔ´Ï´Ù. ¼­ºê Ŭ·¡½º´Â °¡º¯ÀÔ´Ï´Ù¸¸, ¼­ºê Ŭ·¡½ºÀÇ º¯°æÀº ÃßõÇÏÁö ¾Ê½À´Ï´Ù.

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

ÇÊµå °³¿ä
protected  String description
          Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ±â´ÉÀÇ À̸§ÀÔ´Ï´Ù.
protected  String name
          ±â´ÉÀÇ À̸§ÀÔ´Ï´Ù.
 
»ý¼ºÀÚ °³¿ä
MBeanFeatureInfo (String  name, String  description)
          MBeanFeatureInfo °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 boolean equals (Object  o)
          ÀÌ MBeanFeatureInfo¸¦ ´Ù¸¥ MBeanFeatureInfo¿Í ºñ±³ÇÕ´Ï´Ù.
 String getDescription ()
          Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ±â´ÉÀÇ ¼³¸íÀÔ´Ï´Ù.
 String getName ()
          ±â´ÉÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.
 int hashCode ()
          °´Ã¼ÀÇ Çؽà Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

ÇʵåÀÇ »ó¼¼

name

protected String  name
±â´ÉÀÇ À̸§ÀÔ´Ï´Ù. ¼­ºê Ŭ·¡½º°¡ ÀÌ Çʵ带 ÀоîµéÀÌ´Â ´ë½Å¿¡ getName()¸¦ È£ÃâÇØ, ±â´ÉÀÇ À̸§À» ±×´ë·Î »ç¿ëÇÏ´Â °Í °°Àº ¼³Á¤À» Ãßõ ÇÕ´Ï´Ù.


description

protected String  description
Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ±â´ÉÀÇ À̸§ÀÔ´Ï´Ù. ¼­ºê Ŭ·¡½º°¡ ÀÌ Çʵ带 ÀоîµéÀÌ´Â ´ë½Å¿¡ getDescription()¸¦ È£ÃâÇØ, ±â´ÉÀÇ À̸§À» ±×´ë·Î »ç¿ëÇÏ´Â °Í °°Àº ¼³Á¤À» Ãßõ ÇÕ´Ï´Ù.

»ý¼ºÀÚ »ó¼¼

MBeanFeatureInfo

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

ÆĶó¹ÌÅÍ:
name - ±â´ÉÀÇ À̸§
description - Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ±â´ÉÀÇ ¼³¸í
¿¹¿Ü:
IllegalArgumentException
¸Þ¼­µåÀÇ »ó¼¼

getName

public String  getName()
±â´ÉÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
±â´ÉÀÇ À̸§

getDescription

public String  getDescription()
Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ±â´ÉÀÇ ¼³¸íÀÔ´Ï´Ù.

¹Ýȯ°ª:
Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ±â´ÉÀÇ ¼³¸í

equals

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

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

hashCode

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

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

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

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ 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 µµ ÂüÁ¶ÇϽʽÿÀ.