JavaTM 2 Platform
Standard Ed. 5.0

javax.management.timer
ÀÎÅÍÆäÀ̽º TimerMBean

¾Ë·ÁÁø ±¸Çö Ŭ·¡½º ¸ñ·Ï:
Timer

public interface TimerMBean

ŸÀÌ¸Ó MBean °ü¸® ÀÎÅÍÆäÀ̽º¸¦ °ø°³ÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.5

¸Þ¼­µå °³¿ä
 Integer addNotification (String  type, String  message, Object  userData, Date  date)
          ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý null ¹× ¹ßÇà¼ö¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.
 Integer addNotification (String  type, String  message, Object  userData, Date  date, long period)
          ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö null¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.
 Integer addNotification (String  type, String  message, Object  userData, Date  date, long period, long nbOccurences)
          ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.
 Integer addNotification (String  type, String  message, Object  userData, Date  date, long period, long nbOccurences, boolean fixedRate)
          ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.
 Vector getAllNotificationIDs ()
          ÅëÁö ¸®½ºÆ®¿¡ µî·ÏµÇ¾î ¸ðµç ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ ÃëµæÇÕ´Ï´Ù.
 Date getDate (Integer  id)
          Å¸ÀÌ¸Ó ÅëÁö¿¡ °ü·ÃµÈ ³¯Â¥¿Í ½Ã°£ÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.
 Boolean getFixedRate (Integer  id)
          Á¤±â ÅëÁö¸¦ fixed-delay ·Î ½ÇÇàÇÒ±î fixed-rate ·Î ½ÇÇàÇÏ´ÂÁö¸¦ ³ªÅ¸³»´Â Ç÷¡±×ÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.
 int getNbNotifications ()
          ÅëÁö ¸®½ºÆ®¿¡ µî·ÏµÇ¾î Àִ ŸÀÌ¸Ó ÅëÁöÀÇ ¼ö¸¦ ÃëµæÇÕ´Ï´Ù.
 Long getNbOccurences (Integer  id)
          Å¸ÀÌ¸Ó ÅëÁö¿¡ °ü·ÃµÈ ³ª¸ÓÁöÀÇ ¹ßÇà¼öÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.
 Vector getNotificationIDs (String  type)
          ÁöÁ¤µÈ ÇüÅ¿¡ ´ëÀÀÇÏ´Â ¸ðµç ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ ÃëµæÇÕ´Ï´Ù.
 String getNotificationMessage (Integer  id)
          ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö¸¦ ÃëµæÇÕ´Ï´Ù.
 String getNotificationType (Integer  id)
          ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁöÇüÀ» ÃëµæÇÕ´Ï´Ù.
 Object getNotificationUserData (Integer  id)
          ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼¸¦ ÃëµæÇÕ´Ï´Ù.
 Long getPeriod (Integer  id)
          Å¸ÀÌ¸Ó ÅëÁö¿¡ °ü·ÃµÈ °£°Ý (¹Ð¸® ¼¼ÄÁµå)ÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.
 boolean getSendPastNotifications ()
          Å¸À̸Ӱ¡ °ú°ÅÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â Ç÷¡±×¸¦ ÃëµæÇÕ´Ï´Ù.
 boolean isActive ()
          Å¸ÀÌ¸Ó MBean°¡ È°¼ºÈ­µÇ¾ú´Â°¡ ¾î¶²°¡¸¦ Å×½ºÆ®ÇÕ´Ï´Ù.
 boolean isEmpty ()
          Å¸ÀÌ¸Ó ÅëÁöÀÇ ¸®½ºÆ®°¡ ºñ¾îÀÖ´ÂÁö ÆÇÁ¤ÇÕ´Ï´Ù.
 void removeAllNotifications ()
          ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ ¸ðµç ŸÀÌ¸Ó ÅëÁö¸¦ »èÁ¦ÇØ, ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ °»½ÅÇϱâ À§ÇÑ Ä«¿îÅ͸¦ ¸®¼Â ÇÕ´Ï´Ù.
 void removeNotification (Integer  id)
          ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁö¸¦ ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù.
 void removeNotifications (String  type)
          ÁöÁ¤µÈ ÇüÅ¿¡ ´ëÀÀÇÏ´Â ¸ðµç ŸÀÌ¸Ó ÅëÁö¸¦ ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù.
 void setSendPastNotifications (boolean value)
          Å¸À̸Ӱ¡ °ú°ÅÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â Ç÷¡±×¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void start ()
          Å¸À̸Ӹ¦ ½ÃÀÛÇÕ´Ï´Ù.
 void stop ()
          Å¸À̸Ӹ¦ Á¤ÁöÇÕ´Ï´Ù.
 

¸Þ¼­µåÀÇ »ó¼¼

start

void start()
ŸÀ̸Ӹ¦ ½ÃÀÛÇÕ´Ï´Ù.

ÅëÁö ¸®½ºÆ®³»¿¡ ±× ½Ã°£º¸´Ù Àü¿¡ ¹ßÇàµÈ ŸÀÌ¸Ó ÅëÁö°¡ 1°³ ÀÌ»ó ÀÖ´Â °æ¿ì, ÀÌ ÅëÁö´Â sendPastNotifications Ç÷¡±×¿¡ µû¶ó ¼Û½ÅµÇ¾î °£°Ý°ú ³ª¸ÓÁöÀÇ ¹ßÇà¼ö¿¡ µû¶ó °»½ÅµË´Ï´Ù. ŸÀÌ¸Ó ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù ÀüÀÇ °æ¿ì, ÀÌ ÅëÁö´Â ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ »èÁ¦µË´Ï´Ù.


stop

void stop()
ŸÀ̸Ӹ¦ Á¤ÁöÇÕ´Ï´Ù.


addNotification

Integer  addNotification(String  type,
                        String  message,
                        Object  userData,
                        Date  date,
                        long period,
                        long nbOccurences,
                        boolean fixedRate)
                        throws IllegalArgumentException 
ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.

»ðÀԵǴ ŸÀÌ¸Ó ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù ÀüÀÇ °æ¿ì, ÀÌ ¸Þ¼­µå´Â ÁöÁ¤µÈ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£ÀÌ´Ù°í ÇÏ¿© µ¿ÀÛÇÕ´Ï´Ù.
1ȸ ¸¸ÀÇ ÅëÁö´Â Áï½Ã Àü´ÞµË´Ï´Ù.
Á¤±âÀûÀÎ ÅëÁöÀÇ °æ¿ì, ÃÖÃÊÀÇ ÅëÁö´Â Áï½Ã Àü´ÞµÈ ÀÌÈÄÀÇ ÅëÁö´Â °£°Ý ÆĶó¹ÌÅÍ·Î ÁöÁ¤µÈ °£°ÝÀ¸·Î Àü´ÞµË´Ï´Ù.

ŸÀÌ¸Ó ÅëÁö°¡ ÅëÁö ¸®½ºÆ®¿¡ Ãß°¡µÈµÚ °ü·ÃµÈ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö¸¦ °»½ÅÇÒ ¼ö ¾ø½À´Ï´Ù.

Á¤±â ÅëÁöÀÇ °æ¿ì, Timer ·Î ÁöÁ¤µÇ°í ÀÖµµ·Ï, fixedRate ÆĶó¹ÌÅÍÀÇ °ªÀÌ ½ÇÇà schemaÀÇ ÁöÁ¤¿¡ »ç¿ëµË´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - ŸÀÌ¸Ó ÅëÁöÇü
message - ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö
userData - ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼
date - ÅëÁö°¡ ¹ßÇàµÇ´Â ³¯Â¥¿Í ½Ã°£
period - ŸÀÌ¸Ó ÅëÁöÀÇ °£°Ý (¹Ð¸® ¼¼ÄÁµå)
nbOccurences - ¹ßÇàµÇ´Â ŸÀÌ¸Ó ÅëÁöÀÇ ÇÕ°è¼ö
fixedRate - true À̸ç, Á¤±â ÅëÁöÀÎ °æ¿ì, fixed-rate ½ÇÇà schema·Î ½ºÄÉÁÙ µÈ´Ù. false À̸ç, Á¤±â ÅëÁöÀÎ °æ¿ì, fixed-delay ½ÇÇà schema·Î ½ºÄÉÁÙ µÈ´Ù. Á¤±â ÅëÁö°¡ ¾Æ´Ñ °æ¿ì´Â ¹«½ÃµÈ´Ù
¹Ýȯ°ª:
»õ·Ó°Ô ÀÛ¼ºµÈ ŸÀÌ¸Ó ÅëÁöÀÇ ½Äº°ÀÚ
¿¹¿Ü:
IllegalArgumentException - °£°Ý ¶Ç´Â ¹ßÇà¼ö°¡ À߸øµÈ °ª ÀÇ °æ¿ì
°ü·Ã Ç׸ñ:
addNotification(String, String, Object, Date, long, long)

addNotification

Integer  addNotification(String  type,
                        String  message,
                        Object  userData,
                        Date  date,
                        long period,
                        long nbOccurences)
                        throws IllegalArgumentException 
ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.

»ðÀԵǴ ŸÀÌ¸Ó ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù ÀüÀÇ °æ¿ì, ÀÌ ¸Þ¼­µå´Â ÁöÁ¤µÈ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£ÀÌ´Ù°í ÇÏ¿© µ¿ÀÛÇÕ´Ï´Ù.
1ȸ ¸¸ÀÇ ÅëÁö´Â Áï½Ã Àü´ÞµË´Ï´Ù.
Á¤±âÀûÀÎ ÅëÁöÀÇ °æ¿ì, ÃÖÃÊÀÇ ÅëÁö´Â Áï½Ã Àü´ÞµÈ ÀÌÈÄÀÇ ÅëÁö´Â °£°Ý ÆĶó¹ÌÅÍ·Î ÁöÁ¤µÈ °£°ÝÀ¸·Î Àü´ÞµË´Ï´Ù.

ŸÀÌ¸Ó ÅëÁö°¡ ÅëÁö ¸®½ºÆ®¿¡ Ãß°¡µÈµÚ °ü·ÃµÈ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö¸¦ °»½ÅÇÒ ¼ö ¾ø½À´Ï´Ù.

Á¤±â ÅëÁöÀÇ °æ¿ì, Timer ·Î ÁöÁ¤µÇ°í ÀÖµµ·Ï fixed-delay ½ÇÇà schema¸¦ »ç¿ëÇÕ´Ï´Ù. fixed-rate ½ÇÇà schema¸¦ »ç¿ëÇÏ·Á¸é, ´ë½Å¿¡ addNotification(String, String, Object, Date, long, long, boolean)¸¦ »ç¿ëÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - ŸÀÌ¸Ó ÅëÁöÇü
message - ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö
userData - ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼
date - ÅëÁö°¡ ¹ßÇàµÇ´Â ³¯Â¥¿Í ½Ã°£
period - ŸÀÌ¸Ó ÅëÁöÀÇ °£°Ý (¹Ð¸® ¼¼ÄÁµå)
nbOccurences - ¹ßÇàµÇ´Â ŸÀÌ¸Ó ÅëÁöÀÇ ÇÕ°è¼ö
¹Ýȯ°ª:
»õ·Ó°Ô ÀÛ¼ºµÈ ŸÀÌ¸Ó ÅëÁöÀÇ ½Äº°ÀÚ
¿¹¿Ü:
IllegalArgumentException - °£°Ý ¶Ç´Â ¹ßÇà¼ö°¡ À߸øµÈ °ª ÀÇ °æ¿ì
°ü·Ã Ç׸ñ:
addNotification(String, String, Object, Date, long, long, boolean)

addNotification

Integer  addNotification(String  type,
                        String  message,
                        Object  userData,
                        Date  date,
                        long period)
                        throws IllegalArgumentException 
ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý ¹× ¹ßÇà¼ö null¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.

ŸÀÌ¸Ó ÅëÁö´Â Timer ·Î ÁöÁ¤µÇ°í ÀÖµµ·Ï, fixed-delay ½ÇÇà schema¸¦ »ç¿ëÇϴ ŸÀÌ¸Ó °£°ÝÀ¸·Î ¿¬¼ÓÀûÀ¸·Î ¹Ýº¹ÇØÁý´Ï´Ù. fixed-rate ½ÇÇà schema¸¦ »ç¿ëÇÏ·Á¸é, ´ë½Å¿¡ addNotification(String, String, Object, Date, long, long, boolean)¸¦ »ç¿ëÇÕ´Ï´Ù.

»ðÀԵǴ ŸÀÌ¸Ó ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù ÀüÀÇ °æ¿ì, ÀÌ ¸Þ¼­µå´Â ÁöÁ¤µÈ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£ÀÌ´Ù°í ÇÏ¿© µ¿ÀÛÇÕ´Ï´Ù. ÃÖÃÊÀÇ ÅëÁö´Â Áï½Ã Àü´ÞµÈ ÀÌÈÄÀÇ ÅëÁö´Â °£°Ý ÆĶó¹ÌÅÍ·Î ÁöÁ¤µÈ °£°ÝÀ¸·Î Àü´ÞµË´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - ŸÀÌ¸Ó ÅëÁöÇü
message - ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö
userData - ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼
date - ÅëÁö°¡ ¹ßÇàµÇ´Â ³¯Â¥¿Í ½Ã°£
period - ŸÀÌ¸Ó ÅëÁöÀÇ °£°Ý (¹Ð¸® ¼¼ÄÁµå)
¹Ýȯ°ª:
»õ·Ó°Ô ÀÛ¼ºµÈ ŸÀÌ¸Ó ÅëÁöÀÇ ½Äº°ÀÚ
¿¹¿Ü:
IllegalArgumentException - ³¯Â¥¿Í ½Ã°£°¡ À߸øµÈ °ª Àΰ¡ ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù Àü

addNotification

Integer  addNotification(String  type,
                        String  message,
                        Object  userData,
                        Date  date)
                        throws IllegalArgumentException 
ÁöÁ¤µÈ type, message ¹× userData ·Î »õ·Î¿î ŸÀÌ¸Ó ÅëÁö¸¦ ÀÛ¼ºÇØ, ÀÌ°ÍÀ» ÁöÁ¤ÀÇ ³¯Â¥¿Í ½Ã°£, °£°Ý null ¹× ¹ßÇà¼ö¿Í ÇÔ²² ÅëÁö ¸®½ºÆ®¿¡ »ðÀÔÇÕ´Ï´Ù.

ŸÀÌ¸Ó ÅëÁö´Â ÁöÁ¤µÈ ³¯Â¥¿Í ½Ã°£¿¡ Á¤¸®ÇØ Ã³¸®µË´Ï´Ù.

»ðÀԵǴ ŸÀÌ¸Ó ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù ÀüÀÇ °æ¿ì, ÀÌ ¸Þ¼­µå´Â ÁöÁ¤µÈ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£ÀÌ´Ù°í ÇÏ¿© µ¿ÀÛÇÕ´Ï´Ù. ÅëÁö´Â Áï½Ã Àü´ÞµË´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - ŸÀÌ¸Ó ÅëÁöÇü
message - ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö
userData - ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼
date - ÅëÁö°¡ ¹ßÇàµÇ´Â ³¯Â¥¿Í ½Ã°£
¹Ýȯ°ª:
»õ·Ó°Ô ÀÛ¼ºµÈ ŸÀÌ¸Ó ÅëÁöÀÇ ½Äº°ÀÚ
¿¹¿Ü:
IllegalArgumentException - ÅëÁöÀÇ ³¯Â¥¿Í ½Ã°£°¡ ÇöÀçÀÇ ³¯Â¥¿Í ½Ã°£º¸´Ù Àü

removeNotification

void removeNotification(Integer  id)
                        throws InstanceNotFoundException 
ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁö¸¦ ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¿¹¿Ü:
InstanceNotFoundException - ÀÌ Å¸ÀÌ¸Ó MBean ÅëÁö ¸®½ºÆ®³»¿¡ ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁö°¡ Á¸ÀçÇÏÁö ¾Ê´Â´Ù

removeNotifications

void removeNotifications(String  type)
                         throws InstanceNotFoundException 
ÁöÁ¤µÈ ÇüÅ¿¡ ´ëÀÀÇÏ´Â ¸ðµç ŸÀÌ¸Ó ÅëÁö¸¦ ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - ŸÀÌ¸Ó ÅëÁöÇü
¿¹¿Ü:
InstanceNotFoundException - ÀÌ Å¸ÀÌ¸Ó MBean ÅëÁö ¸®½ºÆ®³»¿¡ ÁöÁ¤µÈ ÇüÅ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁö°¡ Á¸ÀçÇÏÁö ¾Ê´Â´Ù

removeAllNotifications

void removeAllNotifications()
ÅëÁö ¸®½ºÆ®·ÎºÎÅÍ ¸ðµç ŸÀÌ¸Ó ÅëÁö¸¦ »èÁ¦ÇØ, ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ °»½ÅÇϱâ À§ÇÑ Ä«¿îÅ͸¦ ¸®¼Â ÇÕ´Ï´Ù.


getNbNotifications

int getNbNotifications()
ÅëÁö ¸®½ºÆ®¿¡ µî·ÏµÇ¾î Àִ ŸÀÌ¸Ó ÅëÁöÀÇ ¼ö¸¦ ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
ŸÀÌ¸Ó ÅëÁöÀÇ ¼ö

getAllNotificationIDs

Vector  getAllNotificationIDs()
ÅëÁö ¸®½ºÆ®¿¡ µî·ÏµÇ¾î ¸ðµç ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
¸ðµç ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ Æ÷ÇÔÇÑ Integer °´Ã¼ º¤ÅÍ.
ÀÌ Å¸ÀÌ¸Ó MBean¿¡ ŸÀÌ¸Ó ÅëÁö°¡ µî·ÏµÇÁö ¾ÊÀº °æ¿ì´Â °ø¹é

getNotificationIDs

Vector  getNotificationIDs(String  type)
ÁöÁ¤µÈ ÇüÅ¿¡ ´ëÀÀÇÏ´Â ¸ðµç ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - ŸÀÌ¸Ó ÅëÁöÇü
¹Ýȯ°ª:
ÁöÁ¤µÈ type ¸ðµç ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ¸¦ Æ÷ÇÔÇÑ Integer °´Ã¼ º¤ÅÍ.
ÀÌ Å¸ÀÌ¸Ó MBean ·Î ÁöÁ¤µÈ type ŸÀÌ¸Ó ÅëÁö°¡ µî·ÏµÇÁö ¾ÊÀº °æ¿ì´Â ºñ¾îÀÖÀ½

getNotificationType

String  getNotificationType(Integer  id)
ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁöÇüÀ» ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
ŸÀÌ¸Ó ÅëÁöÇü. ½Äº°ÀÚ°¡ ÀÌ Å¸ÀÌ¸Ó MBean¿¡ µî·ÏµÈ ŸÀÌ¸Ó ÅëÁö¿¡ ´ëÀÀÇÏ°í ÀÖÁö ¾Ê´Â °æ¿ì´Â null

getNotificationMessage

String  getNotificationMessage(Integer  id)
ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö¸¦ ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
ŸÀÌ¸Ó ÅëÁöÀÇ »ó¼¼ ¸Þ¼¼Áö. ½Äº°ÀÚ°¡ ÀÌ Å¸ÀÌ¸Ó MBean¿¡ µî·ÏµÈ ŸÀÌ¸Ó ÅëÁö¿¡ ´ëÀÀÇÏ°í ÀÖÁö ¾Ê´Â °æ¿ì´Â null

getNotificationUserData

Object  getNotificationUserData(Integer  id)
ÁöÁ¤µÈ ½Äº°ÀÚ¿¡ ´ëÀÀÇϴ ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼¸¦ ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
ŸÀÌ¸Ó ÅëÁöÀÇ »ç¿ëÀÚ µ¥ÀÌÅÍ °´Ã¼. ½Äº°ÀÚ°¡ ÀÌ Å¸ÀÌ¸Ó MBean¿¡ µî·ÏµÈ ŸÀÌ¸Ó ÅëÁö¿¡ ´ëÀÀÇÏ°í ÀÖÁö ¾Ê´Â °æ¿ì´Â null

getDate

Date  getDate(Integer  id)
ŸÀÌ¸Ó ÅëÁö¿¡ °ü·ÃµÈ ³¯Â¥¿Í ½Ã°£ÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
ÀÏÀÚÀÇ Ä«ÇÇ. ½Äº°ÀÚ°¡ ÀÌ Å¸ÀÌ¸Ó MBean¿¡ µî·ÏµÈ ŸÀÌ¸Ó ÅëÁö¿¡ ´ëÀÀÇÏ°í ÀÖÁö ¾Ê´Â °æ¿ì´Â null

getPeriod

Long  getPeriod(Integer  id)
ŸÀÌ¸Ó ÅëÁö¿¡ °ü·ÃµÈ °£°Ý (¹Ð¸® ¼¼ÄÁµå)ÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
°£°ÝÀÇ Ä«ÇÇ. ½Äº°ÀÚ°¡ ÀÌ Å¸ÀÌ¸Ó MBean¿¡ µî·ÏµÈ ŸÀÌ¸Ó ÅëÁö¿¡ ´ëÀÀÇÏ°í ÀÖÁö ¾Ê´Â °æ¿ì´Â null

getNbOccurences

Long  getNbOccurences(Integer  id)
ŸÀÌ¸Ó ÅëÁö¿¡ °ü·ÃµÈ ³ª¸ÓÁöÀÇ ¹ßÇà¼öÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
³ª¸ÓÁöÀÇ ¹ßÇà¼öÀÇ Ä«ÇÇ. ½Äº°ÀÚ°¡ ÀÌ Å¸ÀÌ¸Ó MBean¿¡ µî·ÏµÈ ŸÀÌ¸Ó ÅëÁö¿¡ ´ëÀÀÇÏ°í ÀÖÁö ¾Ê´Â °æ¿ì´Â null

getFixedRate

Boolean  getFixedRate(Integer  id)
Á¤±â ÅëÁö¸¦ fixed-delay ·Î ½ÇÇàÇÒ±î fixed-rate ·Î ½ÇÇàÇÏ´ÂÁö¸¦ ³ªÅ¸³»´Â Ç÷¡±×ÀÇ º¹»çº»À» ÃëµæÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ŸÀÌ¸Ó ÅëÁö ½Äº°ÀÚ
¹Ýȯ°ª:
Á¤±â ÅëÁö¸¦ fixed-delay ·Î ½ÇÇàÇÒ±î fixed-rate ·Î ½ÇÇàÇÏ´ÂÁö¸¦ ³ªÅ¸³»´Â Ç÷¡±×ÀÇ Ä«ÇÇ

getSendPastNotifications

boolean getSendPastNotifications()
ŸÀ̸Ӱ¡ °ú°ÅÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â Ç÷¡±×¸¦ ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
°ú°ÅÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒÁö ¾î¶³Áö¸¦ ÁöÁ¤ÇÏ´Â Ç÷¡±×Ä¡
°ü·Ã Ç׸ñ:
setSendPastNotifications(boolean)

setSendPastNotifications

void setSendPastNotifications(boolean value)
ŸÀ̸Ӱ¡ °ú°ÅÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â Ç÷¡±×¸¦ ¼³Á¤ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
value - °ú°ÅÀÇ ÅëÁö¸¦ ¼Û½ÅÇÒÁö ¾î¶³Áö¸¦ ÁöÁ¤ÇÏ´Â Ç÷¡±×Ä¡
°ü·Ã Ç׸ñ:
getSendPastNotifications()

isActive

boolean isActive()
ŸÀÌ¸Ó MBean°¡ È°¼ºÈ­µÇ¾ú´Â°¡ ¾î¶²°¡¸¦ Å×½ºÆ®ÇÕ´Ï´Ù. ŸÀÌ¸Ó MBean´Â start ¸Þ¼­µå°¡ ºÒ·Á°¡ ¸é È°¼ºÈ­ µÇ¾î, stop ¸Þ¼­µå°¡ ºÒ·Á°¡ ¸é ºñÈ°¼ºÈ­ µË´Ï´Ù.

¹Ýȯ°ª:
ŸÀÌ¸Ó MBean°¡ È°¼ºÈ­µÈ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false

isEmpty

boolean isEmpty()
ŸÀÌ¸Ó ÅëÁöÀÇ ¸®½ºÆ®°¡ ºñ¾îÀÖ´ÂÁö ÆÇÁ¤ÇÕ´Ï´Ù.

¹Ýȯ°ª:
ŸÀÌ¸Ó ÅëÁöÀÇ ¸®½ºÆ®°¡ ºñ¾îÀÖ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false

JavaTM 2 Platform
Standard Ed. 5.0

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