|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.management.relation.RoleInfo
public class RoleInfo
RoleInfo °´Ã¼´Â °ü°èÇü¿¡ Æ÷ÇԵǴ ·ÑÀ» Áý°èÇÕ´Ï´Ù.
ÇÊµå °³¿ä | |
---|---|
static int |
ROLE_CARDINALITY_INFINITY
¹«Á¦ÇÑÀÇ Ä«µð³ª¸®Æ¼¸¦ ÁöÁ¤Çϱ⠶§¹®¿¡ÀÔ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
RoleInfo (RoleInfo theRoleInfo)
»ý¼ºÀÚ¸¦ Ä«ÇÇÇÕ´Ï´Ù. |
|
RoleInfo (String theName,
String theRefMBeanClassName)
»ý¼ºÀÚ ÀÔ´Ï´Ù. |
|
RoleInfo (String theName,
String theRefMBeanClassName,
boolean theIsReadable,
boolean theIsWritable)
»ý¼ºÀÚ ÀÔ´Ï´Ù. |
|
RoleInfo (String theName,
String theRefMBeanClassName,
boolean theIsReadable,
boolean theIsWritable,
int theMinDegree,
int theMaxDegree,
String theDescription)
»ý¼ºÀÚ ÀÔ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
boolean |
checkMaxDegree (int theValue)
ÁöÁ¤µÈ °ªÀÌ ÃÖ´ë°ª ÀÌÇÏÀÏÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â boolean ÇüÀ» ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
checkMinDegree (int theValue)
ÁöÁ¤µÈ °ªÀÌ ÃÖ¼Ò°ª ÀÌ»óÀÏÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â boolean ÇüÀ» ¸®ÅÏÇÕ´Ï´Ù. |
String |
getDescription ()
·ÑÀÇ ¼³¸í ÅØ½ºÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getMaxDegree ()
´ëÀÀÇÏ´Â ·Ñ ÂüÁ¶ÀÇ ÃÖ´ë°ªÀ» ¸®ÅÏÇÕ´Ï´Ù. |
int |
getMinDegree ()
´ëÀÀÇÏ´Â ·Ñ ÂüÁ¶ÀÇ ÃÖ¼Ò°ªÀ» ¸®ÅÏÇÕ´Ï´Ù. |
String |
getName ()
·Ñ¸íÀ» ¸®ÅÏÇÕ´Ï´Ù. |
String |
getRefMBeanClassName ()
´ëÀÀÇÏ´Â ·Ñ³»¿¡¼ ÂüÁ¶µÇ´Â MBean (º¹¼ö°¡´É)ÀÇ Çü¸íÀ» ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
isReadable ()
·ÑÀÇ µ¶ÇØ ¾×¼¼½º ¸ðµå¸¦ ¸®ÅÏÇÕ´Ï´Ù (Àо °¡´ÉÇÑ °æ¿ì´Â true). |
boolean |
isWritable ()
·ÑÀÇ Ãâ·Â ¾×¼¼½º ¸ðµå¸¦ ¸®ÅÏÇÕ´Ï´Ù (Ãâ·Â°¡´ÉÇÑ °æ¿ì´Â true). |
String |
toString ()
·Ñ Á¤º¸¿¡ ´ëÇØ ¼³¸íÇϴ ij¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static int ROLE_CARDINALITY_INFINITY
»ý¼ºÀÚ »ó¼¼ |
---|
public RoleInfo(String theName, String theRefMBeanClassName, boolean theIsReadable, boolean theIsWritable, int theMinDegree, int theMaxDegree, String theDescription) throws IllegalArgumentException, InvalidRoleInfoException, ClassNotFoundException, NotCompliantMBeanException
theName
- ·Ñ¸ítheRefMBeanClassName
- ´ëÀÀÇÏ´Â ·Ñ³»¿¡¼ ÂüÁ¶µÇ´Â MBean (º¹¼ö°¡´É)ÀÇ Å¬·¡½º¸í. MBean M°¡ ÀÌ ·Ñ¿¡ Æ÷ÇԵǴ °æ¿ì, MBean ¼¹ö´Â isInstanceOf(M, theRefMBeanClassName)
¿¡ ´ëÇØ¼ true¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ´ÂtheIsReadable
- ´ëÀÀÇÏ´Â ·ÑÀÌ Àо °¡´ÉÇѰ¡ ¾î¶²°¡¸¦ ³ªÅ¸³»´Â Ç÷¡±×theIsWritable
- ´ëÀÀÇÏ´Â ·ÑÀÌ ¼³Á¤ °¡´ÉÇѰ¡ ¾î¶²°¡¸¦ ³ªÅ¸³»´Â Ç÷¡±×theMinDegree
- ·ÑÀÇ ÃÖ¼Ò°ª (´ëÀÀÇÏ´Â ·Ñ¿¡ Æ÷ÇԵǴ MBean
ÃÖ¼Ò¼ö). theMaxDegree ÀÌÇϰ¡ ¾Æ´Ï¸é ¾ÈµÈ´Ù. ¼ö¸¦ Á¦ÇÑÇÏÁö ¾Ê´Â °æ¿ì, ROLE_CARDINALITY_INFINITYtheMaxDegree
- ·ÑÀÇ ÃÖ´ë°ª
(´ëÀÀÇÏ´Â ·Ñ¿¡ Æ÷ÇԵǴ MBean
ÃÖ´ë¼ö). theMinDegree ÀÌ»óÀÌ ¾Æ´Ï¸é ¾ÈµÈ´Ù. ¼ö¸¦ Á¦ÇÑÇÏÁö ¾Ê´Â °æ¿ì, ROLE_CARDINALITY_INFINITYtheDescription
- ·ÑÀÇ ¼³¸í (nullµµ °¡´É)
IllegalArgumentException
- ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
InvalidRoleInfoException
- ÃÖ¼Ò°ªÀÌ ÃÖ´ë°ª
º¸´Ù Å« °æ¿ì
ClassNotFoundException
- JMX 1.2 ÀÌÈÄ, ÀÌ ¿¹¿Ü´Â Throw µÇÁö ¾Ê°Ô µÈ´Ù. ÀÌ ¿¹¿Ü´Â ±âÁ¸ÀÇ ÄÚµå¿ÍÀÇ È£È¯¼ºÀ» È®º¸Çϱâ À§ÇØ, ÀÌ Å¬·¡½ºÀÇ ¼±¾ð¿¡ °è¼ÓÇØ Æ÷ÇԵǾî ÀÖ´Ù
NotCompliantMBeanException
- theRefMBeanClassName Ŭ·¡½º°¡ MBean Ŭ·¡½º°¡ ¾Æ´Ñ °æ¿ìpublic RoleInfo(String theName, String theRefMBeanClassName, boolean theIsReadable, boolean theIsWritable) throws IllegalArgumentException, ClassNotFoundException, NotCompliantMBeanException
theName
- ·Ñ¸ítheRefMBeanClassName
- ´ëÀÀÇÏ´Â ·Ñ³»¿¡¼ ÂüÁ¶µÇ´Â MBean (º¹¼ö°¡´É)ÀÇ Å¬·¡½º¸í. MBean M°¡ ÀÌ ·Ñ¿¡ Æ÷ÇԵǴ °æ¿ì, MBean ¼¹ö´Â isInstanceOf(M, theRefMBeanClassName)
¿¡ ´ëÇØ¼ true¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ´ÂtheIsReadable
- ´ëÀÀÇÏ´Â ·ÑÀÌ Àо °¡´ÉÇѰ¡ ¾î¶²°¡¸¦ ³ªÅ¸³»´Â Ç÷¡±×theIsWritable
- ´ëÀÀÇÏ´Â ·ÑÀÌ ¼³Á¤ °¡´ÉÇѰ¡ ¾î¶²°¡¸¦ ³ªÅ¸³»´Â Ç÷¡±×
ÃÖ¼Ò°ª¿Í ÃÖ´ë°ª ÀÇ ±âº»°ª´Â 1 ÀÔ´Ï´Ù.
·ÑÀÇ ¼³¸íÀÇ ±âº»°ª´Â null ÀÔ´Ï´Ù.
IllegalArgumentException
- ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ClassNotFoundException
- JMX 1.2 ÀÌÈÄ, ÀÌ ¿¹¿Ü´Â Throw µÇÁö ¾Ê°Ô µÈ´Ù. ÀÌ ¿¹¿Ü´Â ±âÁ¸ÀÇ ÄÚµå¿ÍÀÇ È£È¯¼ºÀ» È®º¸Çϱâ À§ÇØ, ÀÌ Å¬·¡½ºÀÇ ¼±¾ð¿¡ °è¼ÓÇØ Æ÷ÇԵǾî ÀÖ´Ù
NotCompliantMBeanException
- JMX 1.2 ÀÌÈÄ, ÀÌ ¿¹¿Ü´Â Throw µÇÁö ¾Ê°Ô µÈ´Ù. ÀÌ ¿¹¿Ü´Â ±âÁ¸ÀÇ ÄÚµå¿ÍÀÇ È£È¯¼ºÀ» È®º¸Çϱâ À§ÇØ, ÀÌ Å¬·¡½ºÀÇ ¼±¾ð¿¡ °è¼ÓÇØ Æ÷ÇԵǾî ÀÖ´Ùpublic RoleInfo(String theName, String theRefMBeanClassName) throws IllegalArgumentException, ClassNotFoundException, NotCompliantMBeanException
theName
- ·Ñ¸ítheRefMBeanClassName
- ´ëÀÀÇÏ´Â ·Ñ³»¿¡¼ ÂüÁ¶µÇ´Â MBean (º¹¼ö°¡´É)ÀÇ Å¬·¡½º¸í. MBean M°¡ ÀÌ ·Ñ¿¡ Æ÷ÇԵǴ °æ¿ì, MBean ¼¹ö´Â isInstanceOf(M, theRefMBeanClassName)
¿¡ ´ëÇØ¼ true¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ´Ù
IsReadable¿Í IsWritable ±âº»°ª´Â true ÀÔ´Ï´Ù.
ÃÖ¼Ò°ª¿Í ÃÖ´ë°ª ÀÇ ±âº»°ª´Â 1 ÀÔ´Ï´Ù.
·ÑÀÇ ¼³¸íÀÇ ±âº»°ª´Â null ÀÔ´Ï´Ù.
IllegalArgumentException
- ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì
ClassNotFoundException
- JMX 1.2 ÀÌÈÄ, ÀÌ ¿¹¿Ü´Â Throw µÇÁö ¾Ê°Ô µÈ´Ù. ÀÌ ¿¹¿Ü´Â ±âÁ¸ÀÇ ÄÚµå¿ÍÀÇ È£È¯¼ºÀ» È®º¸Çϱâ À§ÇØ, ÀÌ Å¬·¡½ºÀÇ ¼±¾ð¿¡ °è¼ÓÇØ Æ÷ÇԵǾî ÀÖ´Ù
NotCompliantMBeanException
- JMX 1.2 ÀÌÈÄ, ÀÌ ¿¹¿Ü´Â Throw µÇÁö ¾Ê°Ô µÈ´Ù. ÀÌ ¿¹¿Ü´Â ±âÁ¸ÀÇ ÄÚµå¿ÍÀÇ È£È¯¼ºÀ» È®º¸Çϱâ À§ÇØ, ÀÌ Å¬·¡½ºÀÇ ¼±¾ð¿¡ °è¼ÓÇØ Æ÷ÇԵǾî ÀÖ´Ùpublic RoleInfo(RoleInfo theRoleInfo) throws IllegalArgumentException
theRoleInfo
- Ä«ÇǵǴ RoleInfo
IllegalArgumentException
- ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public String getName()
public boolean isReadable()
public boolean isWritable()
public String getDescription()
public int getMinDegree()
public int getMaxDegree()
public String getRefMBeanClassName()
´ëÀÀÇÏ´Â ·Ñ³»¿¡¼ ÂüÁ¶µÇ´Â MBean (º¹¼ö°¡´É)ÀÇ Çü¸íÀ» ¸®ÅÏÇÕ´Ï´Ù.
public boolean checkMinDegree(int theValue)
theValue
- Ä¡
public boolean checkMaxDegree(int theValue)
theValue
- Ä¡
public String toString()
Object
³»ÀÇ toString
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.