|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface NotificationBroadcaster
Notification¸¦ ¹ßÇàÇÏ´Â MBean°¡ ±¸ÇöÇϰí ÀÖ´Â ÀÎÅÍÆäÀ̽º. ÀÌ ÀÎÅÍÆäÀ̽º¿¡ÀÇÇØ ¸®½º³Ê¸¦ ÅëÁö ¸®½º³Ê·Î¼ MBean¿¡ µî·ÏÇÒ ¼ö ÀÖ½À´Ï´Ù.
»õ·Î¿î ÄÚµå´Â NotificationEmitter
ÀÎÅÍÆäÀ̽º¸¦ »ç¿ëÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
¸Þ¼µå °³¿ä | |
---|---|
void |
addNotificationListener (NotificationListener listener,
NotificationFilter filter,
Object handback)
ÀÌ MBean¿¡ ¸®½º³Ê¸¦ Ãß°¡ÇÕ´Ï´Ù. |
MBeanNotificationInfo [] |
getNotificationInfo ()
ÀÌ MBean°¡ ÅëÁö¸¦ ¼Û½ÅÇÒ ¶§¸¶´Ù, ±× ÅëÁöÀÇ Java Ŭ·¡½º¸í°ú ÅëÁöÇüÀ» ³ªÅ¸³»´Â ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
void |
removeNotificationListener (NotificationListener listener)
ÀÌ MBean ·ÎºÎÅÍ ¸®½º³Ê¸¦ »èÁ¦ÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
listener
- ºê·Îµå ij½ºÅͰ¡ ¹ßÇàÇÑ ÅëÁö¸¦ ó¸®ÇÏ´Â ¸®½º³Ê °´Ã¼filter
- ÇÊÅÍ °´Ã¼. ÇÊÅͰ¡ nullÀÎ °æ¿ì, ÅëÁö ó¸®Àü¿¡ ÇÊÅÍ´Â Àû¿ëµÇÁö ¾Ê´Âhandback
- ÅëÁöÀÇ ¹ßÇà½Ã¿¡ ¸®½º³Ê¿¡°Ô ¼Û½ÅµÇ´Â ºÒÅõ¸íÇÑ °´Ã¼. Notification ºê·Îµå ij½ºÅÍ °´Ã¼´Â ÀÌ °´Ã¼¸¦ »ç¿ëÇÒ ¼ö ¾ø´Ù. ÀÌ °´Ã¼´Â ¼Õº¸Áö ¾Ê´Â »óÅ·ΠÅëÁö·ÎºÎÅÍ ¸®½º³Ê¿¡°Ô µ¹·Á º¸³»ÁöÁö ¾ÊÀ¸¸é ¾È µÈ´Ù
IllegalArgumentException
- ¸®½º³Ê ÆÄ¶ó¹ÌÅͰ¡ nullÀÎ °æ¿ìremoveNotificationListener(javax.management.NotificationListener)
void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
listener
- ÀÌÀü¿¡ ÀÌ MBean¿¡ Ãß°¡µÈ ¸®½º³Ê
ListenerNotFoundException
- ¸®½º³Ê°¡ MBean¿¡ µî·ÏµÇÁö ¾ÊÀº °æ¿ìaddNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
,
NotificationEmitter.removeNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
MBeanNotificationInfo [] getNotificationInfo()
ÀÌ MBean°¡ ÅëÁö¸¦ ¼Û½ÅÇÒ ¶§¸¶´Ù, ±× ÅëÁöÀÇ Java Ŭ·¡½º¸í°ú ÅëÁöÇüÀ» ³ªÅ¸³»´Â ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù.
MBean °¡ ÀÌ ¹è¿¿¡ ±â¼úµÇ¾î ÀÖÁö ¾ÊÀº ÅëÁö¸¦ ¼Û½ÅÇÒ ¼ö ¾ø½À´Ï´Ù. ´Ù¸¸, ÀϺÎÀÇ MBean ¼¹ö Ŭ¶óÀÌ¾ðÆ®´Â ÇöÀçÀÇ ±â´É¿¡ ÀÇÇØ ¿Ï¼ºÇÏ´Â ¹è¿¿¡ Á¸Çϰí ÀÖ´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.