|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.management.MBeanInfo
javax.management.modelmbean.ModelMBeanInfoSupport
public class ModelMBeanInfoSupport
ÀÌ Å¬·¡½º´Â ModelMBean ¸ÞŸµ¥ÀÌŸ¸¦ ³ªÅ¸³À´Ï´Ù. ¸ÞŸµ¥ÀÌŸ¿ÀºêÁ¦Å©Æ®¿¡ ±â¼úÀÚ°¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù.
°ü¸® ´ë»óÀÌ µÇ´Â Java ÀÚ¿øÀº MBeanServer createMBean ¸Þ¼µå¸¦ »ç¿ëÇØ, ModelMBean¸¦ ÀνºÅϽºÈÇÕ´Ï´Ù. ´ÙÀ½¿¡ ModelMBean ÀνºÅϽºÀÇ ModelMBeanInfo¿Í Descriptor¸¦ ¼³Á¤ÇÕ´Ï´Ù. ModelMBean ModelMBeanInfo ¿¡¼ °ø°³µÈ ¼Ó¼º°ú ¿ÀÆÛ·¹À̼ǿ¡´Â MBean, Ä¿³ØÅÍ, ¾î´ðÅͷκÎÅÍ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù. Descriptor¸¦ »ç¿ëÇØ, °ü¸® ´ë»ó ¾îÇø®ÄÉÀ̼dz»ÀÇ °ª°ú ¸Þ¼µå¸¦ Á¤ÀÇÇØ, ModelMBean ¼Ó¼º ¹× ¿ÀÆÛ·¹À̼ǿ¡ ¸Ê ÇÒ ¼ö ÀÖ½À´Ï´Ù . ÀÌ ¸ÅÇÎÀº ÆÄÀÏÀ» »ç¿ëÇÑ °³¹ß½Ã, ¶Ç´Â ½ÇÇà½Ã¿¡ ÇÁ·Î±×·¥À» »ç¿ëÇØ µ¿ÀûÀ¸·Î Á¤ÀÇÇÒ ¼ö ÀÖ½À´Ï´Ù.
MBeanServer ·Î ÀνºÅϽºÈ µÈ MBean´Â ¸ðµÎ °ü¸® ´ë»óÀÌ µË´Ï´Ù. ÀÌ·¯ÇÑ MBean ¼Ó¼º°ú ¿ÀÆÛ·¹À̼ǿ¡´Â MBeanServer¿¡ Á¢¼ÓµÈ Ä¿³ØÅÍ ¶Ç´Â ¾î´ðÅÍ °æÀ¯·Î ¿ø°Ý Á¢±Ù ÇÒ ¼ö ÀÖ½À´Ï´Ù. JMX ÁذÅÀÇ MBean°¡ ¾Æ´Ñ Java °´Ã¼´Â MBeanServer¿¡ µî·ÏÇÒ ¼ö ¾ø½À´Ï´Ù. ÀÚ¿øÀº ModelMBean¸¦ ÀνºÅϽºÈÇÏ´Â °ÍÀ¸·Î MBean À¯È¿¼ºÀ» º¸ÁõÇÕ´Ï´Ù. ¸ðµç public ¸Þ¼µå·Î MBeanException ¹× RuntimeOperationsException°¡ Throw µÉ Çʿ䰡 ÀÖ½À´Ï´Ù. À̰Ϳ¡ ÀÇÇØ ºÐ»êÇü Åë½Å (RMI, EJB µî)À¸·ÎºÎÅÍÀÇ ¿¹¿ÜÀÇ ·¦ÀÌ °¡´ÉÇÏ°Ô µË´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
ModelMBeanInfoSupport (ModelMBeanInfo mbi)
°Ç³×¹ÞÀº ModelMBeanInfoSupport¸¦ º¹Á¦ÇØ ModelMBeanInfoSupport¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
ModelMBeanInfoSupport (String className,
String description,
ModelMBeanAttributeInfo [] attributes,
ModelMBeanConstructorInfo [] constructors,
ModelMBeanOperationInfo [] operations,
ModelMBeanNotificationInfo [] notifications)
Á¦°øµÈ Á¤º¸·Î ModelMBeanInfoSupport¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
ModelMBeanInfoSupport (String className,
String description,
ModelMBeanAttributeInfo [] attributes,
ModelMBeanConstructorInfo [] constructors,
ModelMBeanOperationInfo [] operations,
ModelMBeanNotificationInfo [] notifications,
Descriptor mbeandescriptor)
Á¦°øµÈ Á¤º¸¿Í ÆÄ¶ó¹ÌÅͷμ ÁöÁ¤µÈ ±â¼úÀÚ¸¦ »ç¿ëÇØ ModelMBeanInfoSupport¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
Object |
clone ()
ÀÌ ÀνºÅϽºÀÇ »þ·ÎÄÚÇǸ¦ ¸®ÅÏÇÕ´Ï´Ù. |
ModelMBeanAttributeInfo |
getAttribute (String inName)
À̸§À¸·Î ¿ä±¸µÈ ModelMBeanAttributeInfo¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
ModelMBeanConstructorInfo |
getConstructor (String inName)
À̸§À¸·Î ¿ä±¸µÈ ModelMBeanConstructorInfo¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Descriptor |
getDescriptor (String inDescriptorName)
À̸§À¸·Î ¿ä±¸µÈ Descriptor¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Descriptor |
getDescriptor (String inDescriptorName,
String inDescriptorType)
À̸§°ú descriptorType ·Î ¿ä±¸µÈ Descriptor¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Descriptor [] |
getDescriptors (String inDescriptorType)
inDescriptorType ÇüÀÇ ModelMBeanInfo ¸ðµç Descriptor ·Î ±¸¼ºµÇ´Â Descriptor ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
Descriptor |
getMBeanDescriptor ()
MBean Àüü Á¤Ã¥¸¦ Æ÷ÇÔÇÑ ModelMBean ±â¼úÀÚ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
ModelMBeanNotificationInfo |
getNotification (String inName)
À̸§À¸·Î ¿ä±¸µÈ ModelMBeanNotificationInfo¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
ModelMBeanOperationInfo |
getOperation (String inName)
À̸§À¸·Î ¿ä±¸µÈ ModelMBeanOperationInfo¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
void |
setDescriptor (Descriptor inDescriptor,
String inDescriptorType)
ModelMBean inDescriptorType ÇüÀÇ Á¤º¸ ¹è¿³»¿¡ ±â¼úÀÚ¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setDescriptors (Descriptor [] inDescriptors)
ModelMBeanInfo¿¡ ±â¼úÀÚ¸¦ Ãß°¡ÇÏ´ÂÁö, ModelMBeanInfo ³»ÀÇ ±â¼úÀÚ¸¦ ¿Å°Ü³õ½À´Ï´Ù. |
void |
setMBeanDescriptor (Descriptor inMBeanDescriptor)
ModelMBean ±â¼úÀÚ¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
Ŭ·¡½º javax.management. MBeanInfo ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
equals,
getAttributes,
getClassName,
getConstructors,
getDescription,
getNotifications,
getOperations,
hashCode |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÀÎÅÍÆäÀ̽º javax.management.modelmbean. ModelMBeanInfo ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getAttributes,
getClassName,
getConstructors,
getDescription,
getNotifications,
getOperations |
»ý¼ºÀÚ »ó¼¼ |
---|
public ModelMBeanInfoSupport(ModelMBeanInfo mbi)
mbi
- ModelMBeanInfo ÀνºÅϽº. ÀÌ ÀνºÅϽº·ÎºÎÅÍ ÀÛ¼ºÇÑ ModelMBeanInfo°¡ ÃʱâȵȴÙpublic ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo [] attributes, ModelMBeanConstructorInfo [] constructors, ModelMBeanOperationInfo [] operations, ModelMBeanNotificationInfo [] notifications)
className
- MBean
Ŭ·¡½º¸ídescription
- Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ModelMBean
¼³¸íattributes
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanAttributeInfo °´Ã¼ÀÇ ¹è¿constructors
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanConstructorInfo °´Ã¼ÀÇ ¹è¿operations
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanOperationInfo °´Ã¼ÀÇ ¹è¿notifications
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanNotificationInfo °´Ã¼ÀÇ ¹è¿public ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo [] attributes, ModelMBeanConstructorInfo [] constructors, ModelMBeanOperationInfo [] operations, ModelMBeanNotificationInfo [] notifications, Descriptor mbeandescriptor)
className
- MBean
Ŭ·¡½º¸ídescription
- Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ModelMBean
¼³¸íattributes
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanAttributeInfo °´Ã¼ÀÇ ¹è¿constructors
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanConstructorInfo °´Ã¼ÀÇ ¹è¿operations
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanOperationInfo °´Ã¼ÀÇ ¹è¿notifications
- ±â¼úÀÚ¸¦ °¡Áö´Â ModelMBeanNotificationInfo °´Ã¼ÀÇ ¹è¿mbeandescriptor
- MBean Àüü Á¤Ã¥¸¦ Æ÷ÇÔÇÑ MBeanDescriptor ·Î¼ »ç¿ëµÇ´Â ±â¼úÀÚ. ±â¼úÀÚ°¡ nullÀÎ °æ¿ì, µðÆúÆ®ÀÇ ±â¼úÀÚ°¡ ÀÛ¼ºµÈ´Ù. µðÆúÆ®ÀÇ ±â¼úÀÚ´Â name=className, descriptorType=mbean, displayName=className, persistPolicy=never, log=F, visibility=1. ±â¼úÀÚ¿¡°Ô ÀÌ·¯ÇÑ ÇʵåÀÇ ÀϺΰ¡ Æ÷ÇÔµÇÁö ¾ÊÀº °æ¿ì´Â ºÎÁ·ÇÑ Çʵ尡 ±âº»°ª
·Î Ãß°¡µÈ´Ù
RuntimeOperationsException
- ÆÄ¶ó¹ÌÅͷμ °Ç³×¹ÞÀº ±â¼úÀÚ°¡ ¹«È¿ÀÎ °æ¿ì, IllegalArgumentExceptionÀ»
·¦ ÇÑ´Ù. À¯È¿ÇÑ MBean ±â¼úÀÚÀÇ Á¤ÀÇ¿¡ ´ëÇØ¼´Â getMBeanDescriptor
¸¦
ÂüÁ¶¸Þ¼µåÀÇ »ó¼¼ |
---|
public Object clone()
MBeanInfo
±â¼ú: ÀÌ ÀνºÅϽºÀÇ »þ·ÎÄÚÇǸ¦ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ Ä«ÇÇ´Â super.clone() È£Ãâ (Object.clone()¿¡ ÀÇÇØ ±¸ÇöµÇ´Â µðÆúÆ®ÀÇ ³×ÀÌÆ¼ºê»þ·ÎÄÚÇÇ?@±¸ÀÇ È£Ãâ)¿¡ ÀÇÇØ ÃëµæµË´Ï´Ù. ³»ºÎ Çʵ忡 µµÂøÇØ, ´õ ÀÌ»ó »ó¼¼ÇÑ Ä«ÇÇ´Â ÀÛ¼ºµÇÁö ¾Ê½À´Ï´Ù.
ÀÌ Å¬·¡½º´Â ºÒº¯À̹ǷΠīÇÇ ¸Þ¼µå´Â ÁÖ·Î ¼ºê Ŭ·¡½º¿¡ ÀÖ¾î Áß¿äÇÏ°Ô µË´Ï´Ù.
ModelMBeanInfo
³»ÀÇ clone
MBeanInfo
³»ÀÇ clone
Cloneable
public Descriptor [] getDescriptors(String inDescriptorType) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ getDescriptors
inDescriptorType
- ¸®ÅϵÈ
±â¼úÀÚ¿¡ ´ëÇØ¼ ¼³Á¤ÇÒ Çʿ䰡 ÀÖ´Â descriptorType ÇʵåÀÇ °ª. mbean, attribute, operation, constructor, notification
¾ðÁ¨°¡. null ¶Ç´Â ºñ¾îÀÖ´Â °æ¿ì, ¸ðµç ÇüŰ¡ ¸®ÅϵȴÙ
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ÆÄ¶ó¹ÌÅͷμ °Ç³×¹ÞÀº descriptorType°¡ mbean, attribute, operation, constructor, notification
¸ÓÁö¾Ê¾Æµµ ¾Æ´Ñ °æ¿ì, ºñ¾îÀÖ´Â °æ¿ì, ¶Ç´Â nullÀÎ °æ¿ì, IllegalArgumentExceptionÀ»
°¨½Î´ÂModelMBeanInfo.setDescriptors(javax.management.Descriptor[])
public void setDescriptors(Descriptor [] inDescriptors) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ setDescriptors
inDescriptors
- ModelMBeanInfo ³»·Î ¼³Á¤µÇ´Â ±â¼úÀÚ. ¸®½ºÆ®ÀÇ null ¿ä¼Ò´Â ¹«½ÃµÈ´Ù. ¸ðµç ±â¼úÀÚ°¡ name ¹× descriptorType Çʵ带 °¡Áö°í ÀÖÀ» Çʿ䰡 ÀÖ´Ù
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ±â¼úÀÚ°¡ null ¶Ç´Â ºÎÁ¤ÇÑ °æ¿ì, IllegalArgumentExceptionÀ»
°¨½Î´ÂModelMBeanInfo.getDescriptors(java.lang.String)
public Descriptor getDescriptor(String inDescriptorName) throws MBeanException, RuntimeOperationsException
inDescriptorName
- ±â¼úÀÚÀÇ À̸§
MBeanException
- ¹è°ªÀÌ ³¡³ Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- À̸§ÀÌ nullÀÎ °æ¿ì, IllegalArgumentExceptionÀ» °¨½Î´ÂsetDescriptor(javax.management.Descriptor, java.lang.String)
public Descriptor getDescriptor(String inDescriptorName, String inDescriptorType) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ getDescriptor
inDescriptorName
- ±â¼úÀÚÀÇ À̸§inDescriptorType
- ¿ä±¸µÇ´Â ±â¼úÀÚÀÇ ÇüÅÂ. null ¶Ç´Â ºñ¾îÀÖ´Â °æ¿ì, ¸ðµç ÇüŰ¡ °Ë»öµÈ´Ù. À¯È¿ÇÑ ÇüÅ´ mbean, attribute, constructor, operation ¹× notification. ÀÌ °ªÀº ¸®ÅϵÈ
±â¼úÀÚÀÇ descriptorType Çʵå¿Í µ¿ÀÏÇØÁø´Ù
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ±â¼úÀÚ¸íÀÌ null ÀÎÁö, ÇüŰ¡ null ¶Ç´Â ºÎÁ¤ÇÑ °æ¿ì, IllegalArgumentExceptionÀ»
·¦ ÇÑ´Ù. ÇüÅ´ mbean, attribute, constructor, operation, notification
¾ðÁ¨°¡°¡ ¾Æ´Ï¸é ¾ÈµÇ´ÂModelMBeanInfo.setDescriptor(javax.management.Descriptor, java.lang.String)
public void setDescriptor(Descriptor inDescriptor, String inDescriptorType) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ setDescriptor
inDescriptor
- ModelMBean ³»·Î ¼³Á¤µÇ´Â ±â¼úÀÚ. null À̿ܰ¡ ¾Æ´Ï¸é ¾ÈµÈ´Ù. ¸ðµç ±â¼úÀÚ°¡ name ¹× descriptorType Çʵ带 °¡Áö°í ÀÖÀ» Çʿ䰡 ÀÖ´ÂinDescriptorType
- ¼³Á¤µÇ´Â ±â¼úÀÚÀÇ ÇüÅÂ. nullÀÎ °æ¿ì, ±â¼úÀÚÀÇ descriptorType Çʵ尡 »ç¿ëµÈ´Ù. °ªÀÌ °¡¸®Å°´Â °æ¿ì, ÀÌ °ªÀÌ ±â¼úÀÚÀÇ descriptorType Çʵå·Î ¼³Á¤µÇÁö ¾ÊÀ¸¸é ¾È µÈ´Ù. mbean, attribute, constructor, operation, notification
¾ðÁ¨°¡
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- Àμö°¡ ºÎÁ¤ ¶Ç´Â null ÀÎ °æ¿ì, ¶Ç´Â ´ëÀÀÇÏ´Â MBeanAttributeInfo, MBeanConstructorInfo, MBeanNotificationInfo, MBeanOperationInfo
¾î´ÀÂÊÀ̵çÀ¸·Î ±â¼úÀÚÀÇ name Çʵ尡 ¹ß°ßµÇÁö ¾Ê´Â °æ¿ì, IllegalArgumentExceptionÀ»
°¨½Î´ÂModelMBeanInfo.getDescriptor(java.lang.String, java.lang.String)
public ModelMBeanAttributeInfo getAttribute(String inName) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ getAttribute
inName
- ¾ò´Â ModelMBeanAttributeInfo
À̸§. ÀÌ À̸§ÀÇ ModelMBeanAttributeInfo°¡ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì´Â nullÀÌ ¸®ÅϵȴÙ
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ¼Ó¼º¸íÀÌ nullÀÎ °æ¿ì IllegalArgumentExceptionÀ»
·¦ ÇÑ´Ùpublic ModelMBeanOperationInfo getOperation(String inName) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ getOperation
inName
- ¾ò´Â ModelMBeanOperationInfo
À̸§. ÀÌ À̸§ÀÇ ModelMBeanOperationInfo°¡ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì´Â nullÀÌ ¸®ÅϵȴÙ
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ¿ÀÆÛ·¹À̼ǸíÀÌ nullÀÎ °æ¿ì IllegalArgumentExceptionÀ»
·¦ ÇÑ´Ùpublic ModelMBeanConstructorInfo getConstructor(String inName) throws MBeanException, RuntimeOperationsException
inName
- »ý¼ºÀÚ À̸§
MBeanException
- ¹è°ªÀÌ ³¡³ Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- »ý¼ºÀÚ
¸íÀÌ nullÀÎ °æ¿ì, IllegalArgumentExceptionÀ»
·¦ ÇÑ´Ùpublic ModelMBeanNotificationInfo getNotification(String inName) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣:
ModelMBeanInfo
³»ÀÇ getNotification
inName
- ¾ò´Â ModelMBeanNotificationInfo
À̸§. ÀÌ À̸§ÀÇ ModelMBeanNotificationInfo°¡ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì´Â nullÀÌ ¸®ÅϵȴÙ
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ÅëÁö¸íÀÌ nullÀÎ °æ¿ì IllegalArgumentExceptionÀ»
·¦ ÇÑ´Ùpublic Descriptor getMBeanDescriptor() throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
±â¼ú: ±â¼úÀÚÀÇ Çʵå´Â ¾Æ·¡¿Í °°ÀÌ Á¤Àǰ¡ ³¡³ »óÅÂÀÔ´Ï´Ù¸¸, ÀÌ ³»¿ëÀ¸·Î ÇÑÁ¤µÇÁö ¾Ê½À´Ï´Ù.
name : MBean ¸í descriptorType : ¹Ýµå½Ã mbean displayName : µð½ºÇ÷¹ÀÌ·Î »ç¿ëµÇ´Â ¼Ó¼ºÀÇ À̸§ persistPolicy : OnUpdate, OnTimer, NoMoreOftenThan, Always, Never persistLocation : ¿ÏÀü ¼ö½Ä µð·ºÅ丮¸í. MBean´Â Çʿ信 µû¶ó¼ ÀÌ µð·ºÅ丮¿¡ º¸°ü À¯ÁöµÇ´Â persistFile : MBean¸¦ º¸°ü À¯ÁöÇÏ´Â ÆÄÀÏÀÇ À̸§ persistPeriod : Ãʼö. OnTime ¹× NoMoreOftenThan PersistPolicy Áö¼Ó »çÀÌŬÀÇ ºóµµ¸¦ ³ªÅ¸³»´Â currencyTimeLimit : Ä¡ÀÇ À¯È¿±â°£. <0 Ç×»ó ¹«È¿,=0 Ç×»ó À¯È¿, >0 ÃÊ log : tÀÎ °æ¿ì´Â ¸ðµç ÅëÁö¸¦ ·Î±×¿¡ ±â·Ï, fÀÎ °æ¿ì´Â ÅëÁö¸¦ ±â·ÏÇÏÁö ¾Ê´Â logfile : À̺¥Æ®ÀÇ ±â·Ïó ÆÄÀÏÀÇ ¿ÏÀü ¼ö½Ä ÆÄÀϸí visibility : 1 ~ 4 °ª °¡¿îµ¥,1: Ç×»ó °¡½Ã,4: °ÅÀÇ ºÒ°¡½Ã export : ÀÌ MBean¸¦ export ¶Ç´Â °ø°³ÇÒ ¶§ »ç¿ëÇÏ´Â À̸§. ´Ù¸¥ JMX ¿¡ÀÌÀüÆ®´Â ÀÌ À̸§À» »ç¿ëÇØ MBean¸¦ °Ë»öÇÏ´Â presentationString : µ¥ÀÌÅÍ Ç¥Çö°ú MBean¸¦ °ü·ÃÁþ±â À§ÇÑ XML Çü½ÄÀÇ Ä³¸¯ÅÍ ¶óÀÎ
µðÆúÆ®ÀÇ ±â¼úÀÚ´Â name=mbeanName, descriptorType=mbean, displayName=this.getClassName(), persistPolicy=never, log=F, export=F, visibility=1 ÀÔ´Ï´Ù. ±â¼úÀÚ¿¡°Ô ÀÌ·¯ÇÑ ¸î°³ÀÇ Çʵ尡 ºÎÁ·ÇÑ °æ¿ì, ºÎÁ·ÇÑ Çʵ尡 ±âº»°ª ·Î Ãß°¡µË´Ï´Ù.
ÁÖ: ÀÌÀüÀÇ ¹öÀüÀÇ »ç¾ç°úÀÇ ºÎÁ¤ÇÕÀÌ Àֱ⠶§¹®¿¡
currencyTimeLimit
¿¡´Â Á¦·Î ¾Æ·¡ÀÇ °ªÀ» »ç¿ëÇÏÁö ¾Ê°ÔÀÇÇØ ÁÖ¼¼¿ä. ij½¬¿¡ µé¾î°£ °ªÀÌ À¯È¿ÇÏÁö ¾ÊÀº °ÍÀ» ³ªÅ¸³»°í ½ÍÀº °æ¿ì´Â currencyTimeLimit
Çʵ带 »ý·« ÇÕ´Ï´Ù. ÀÌ °ªÀÌ Ç×»ó À¯È¿ÇÑ °ÍÀ» ³ªÅ¸³»°í ½ÍÀº °æ¿ì´Â ÀÌ Çʵ忡 ¸Å¿ì Å« °ªÀ» ÁöÁ¤ÇÕ´Ï´Ù.
ModelMBeanInfo
³»ÀÇ getMBeanDescriptor
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ±â¼úÀÚÀÇ Ãëµæ½Ã¿¡ RuntimeException
ÀÌ ¹ß»ýÇßÀ» °æ¿ìModelMBeanInfo.setMBeanDescriptor(javax.management.Descriptor)
public void setMBeanDescriptor(Descriptor inMBeanDescriptor) throws MBeanException, RuntimeOperationsException
ModelMBeanInfo
񃬣: getMBeanDescriptor
¸Þ¼µåÀÇ javadoc¸¦ ÂüÁ¶ÇϽʽÿÀ.
ModelMBeanInfo
³»ÀÇ setMBeanDescriptor
inMBeanDescriptor
- ¼³Á¤ÇÏ´Â ±â¼úÀÚ
MBeanException
- ºÐ»ê Åë½Å ExceptionÀ»
·¦ ÇÑ´Ù
RuntimeOperationsException
- ±â¼úÀÚ°¡ ¹«È¿ÀÎ °æ¿ì, IllegalArgumentExceptionÀ»
°¨½Î´ÂModelMBeanInfo.getMBeanDescriptor()
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.