tle.framework.jmx
Class MBeanServerWrapper

java.lang.Object
  extended bytle.framework.jmx.MBeanServerWrapper

public class MBeanServerWrapper
extends java.lang.Object

MBean ¼­¹ö¿¡ ´ëÇÑ ·¹ÆÛ Ŭ·¡½ºÀÌ´Ù.

MBean ¼­¹ö¸¦ »ç¿ëÇϴ Ŭ·¡½º´Â ÀÌ Å¬·¡½º¸¦ ÅëÇØ¼­ MBean ¼­¹ö¿¡ Á¢±ÙÇÏ°Ô µÈ´Ù.

Since:
2.0
Author:
ÃÖ¹ü±Õ

Method Summary
static MBeanServerWrapper getInstance()
          MBeanServerWrapper Ŭ·¡½ºÀÇ ½Ì±ÛÅæ ÀνºÅϽº¸¦ ¸®ÅÏÇÑ´Ù.
 MBeanServer getMBeanServer()
          ³»ºÎÀûÀ¸·Î °¨½Î°í ÀÖ´Â MBeanServer¸¦ ¸®ÅÏÇÑ´Ù.
 void registComponent(Component comp)
          ÁöÁ¤ÇÑ ÄÄÆ÷³ÍÆ®¸¦ MBean ¼­¹ö¿¡ µî·ÏÇÑ´Ù.
 void unregistComponent(Component comp)
          ÁöÁ¤ÇÑ ÄÄÆ÷³ÍÆ®¸¦ MBean ¼­¹ö¿¡¼­ Á¦°ÅÇÑ´Ù.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MBeanServerWrapper getInstance()
MBeanServerWrapper Ŭ·¡½ºÀÇ ½Ì±ÛÅæ ÀνºÅϽº¸¦ ¸®ÅÏÇÑ´Ù.

Returns:
MBeanServerWrapper

getMBeanServer

public MBeanServer getMBeanServer()
³»ºÎÀûÀ¸·Î °¨½Î°í ÀÖ´Â MBeanServer¸¦ ¸®ÅÏÇÑ´Ù.

Returns:
MBeanServer

registComponent

public void registComponent(Component comp)
                     throws InstanceAlreadyExistsException,
                            MBeanRegistrationException,
                            NotCompliantMBeanException,
                            MalformedObjectNameException
ÁöÁ¤ÇÑ ÄÄÆ÷³ÍÆ®¸¦ MBean ¼­¹ö¿¡ µî·ÏÇÑ´Ù.

MBeanÀÇ °´Ã¼ À̸§Àº "TLE:type=Ŭ·¡½º¿ÏÀüÇÑÀ̸§,ID=ÄÄÆ÷³ÍÆ®ID"ÀÇ ÇüŸ¦ ¶è´Ù.

Parameters:
comp - µî·ÏÇÒ MBean ÄÄÆ÷³ÍÆ®
Throws:
NotCompliantMBeanException
MBeanRegistrationException
InstanceAlreadyExistsException
MalformedObjectNameException

unregistComponent

public void unregistComponent(Component comp)
                       throws InstanceNotFoundException,
                              MBeanRegistrationException
ÁöÁ¤ÇÑ ÄÄÆ÷³ÍÆ®¸¦ MBean ¼­¹ö¿¡¼­ Á¦°ÅÇÑ´Ù.

Parameters:
comp - Á¦°ÅÇÒ ÄÄÆ÷³ÍÆ®
Throws:
MBeanRegistrationException
InstanceNotFoundException - µî·ÏµÈ MBeanÀÌ ¾Æ´Ñ °æ¿ì¿¡ ¹ß»ýÇÑ´Ù.