JavaTM 2 Platform
Standard Ed. 5.0

javax.management.remote
Ŭ·¡½º TargetedNotification

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.management.remote.TargetedNotification
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public class TargetedNotification
extends Object
implements Serializable

ÅëÁö¿Í ¸®½º³Ê ID Æä¾î (Notification, Listener ID)ÀÔ´Ï´Ù.

ÀÌ Å¬·¡½º´Â ¹ßÇàµÈ ÅëÁö¿Í ±× Ÿ°ÙÀÇ ¸®½º³ÊÀÇ ¸®½º³Ê ID¸¦ °ü·ÃÁþ±â À§Çؼ­ »ç¿ëµË´Ï´Ù.

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

»ý¼ºÀÚ °³¿ä
TargetedNotification (Notification  notification, Integer  listenerID)
          TargetedNotification °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 Integer getListenerID ()
          ÅëÁöÀÇ Å¸°ÙÀÌ µÇ´Â ¸®½º³ÊÀÇ ID ÀÔ´Ï´Ù.
 Notification getNotification ()
          ¹ßÇàµÈ ÅëÁö
 String toString ()
          ÀÌ Targeted Notification ÅؽºÆ® Ç¥ÇöÀ» ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

TargetedNotification

public TargetedNotification(Notification  notification,
                            Integer  listenerID)

TargetedNotification °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. ÀÌ °´Ã¼¿¡´Â ÅëÁö¿Í ¸®½º³Ê ID Æä¾î (Notification, Listener ID)°¡ Æ÷ÇԵ˴ϴÙ. ¸®½º³Ê ID´Â ±× ÅëÁöÀÇ Å¸°ÙÀÌ µÇ´Â Ŭ¶óÀ̾ðÆ® ¸®½º³Ê¸¦ ½Äº°ÇÕ´Ï´Ù. Ŭ¶óÀ̾ðÆ® ¸®½º³Ê ID´Â ÀÌÀü¿¡ addNotificationListener ¿ä±¸¿¡ÀÇ ÀÀ´äÀ¸·Î¼­ Ä¿³ØÅÍ ¼­¹ö·ÎºÎÅÍ ¸®ÅÏµÈ ID ÀÔ´Ï´Ù.

ÆĶó¹ÌÅÍ:
notification - MBean ¼­¹ö·ÎºÎÅÍ ¹ßÇàµÈ ÅëÁö
listenerID - ÀÌ ÅëÁöÀÇ Å¸°ÙÀÌ µÇ´Â ¸®½º³ÊÀÇ ID
¿¹¿Ü:
IllegalArgumentException - listenerID ¶Ç´Â notification°¡ nullÀÎ °æ¿ì
¸Þ¼­µåÀÇ »ó¼¼

getNotification

public Notification  getNotification()

¹ßÇàµÈ ÅëÁö

¹Ýȯ°ª:
ÅëÁö

getListenerID

public Integer  getListenerID()

ÅëÁöÀÇ Å¸°ÙÀÌ µÇ´Â ¸®½º³ÊÀÇ ID ÀÔ´Ï´Ù.

¹Ýȯ°ª:
¸®½º³Ê ID

toString

public String  toString()
ÀÌ Targeted Notification ÅؽºÆ® Ç¥ÇöÀ» ¸®ÅÏÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ toString
¹Ýȯ°ª:
ÀÌ Targeted Notification String Ç¥Çö

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.