javax.security.auth
ÀÎÅÍÆäÀ̽º Destroyable
- public interface Destroyable
ÀڰݵîÀÇ ¿ÀºêÁ§Æ®°¡, ±× ³»¿ëÀ» ÆÄ±âÇϱâ À§ÇØ(¶§¹®¿¡) ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ÀÓÀÇ¿¡ ½ÇÀåÇÕ´Ï´Ù.
- °ü·Ã Ç׸ñ:
Subject
¸Þ¼ÒµåÀÇ °³¿ä |
void |
destroy ()
ÀÌ Object ¸¦ ÆÄ±âÇÕ´Ï´Ù.
|
boolean |
isDestroyed ()
ÀÌ Object °¡ ÆÄ±âµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù.
|
destroy
public void destroy()
throws DestroyFailedException
- ÀÌ
Object
¸¦ ÆÄ±âÇÕ´Ï´Ù.
ÀÌ Object
¿¡ °ü·ÃÁöÀ» ¼ö ÀÖ´ø Áß¿äÇÑ Á¤º¸´Â ÆÄ±âµÉ±î ¼Ò°ÅµË´Ï´Ù. ÀÌÈÄ, ÀÌ Object
¿¡ ´ëÇØ¼ ƯÁ¤ÀÇ ¸Þ¼Òµå¸¦ È£ÃâÇϸé(ÀÚ),IllegalStateException
°¡ ½½·Î¿ì µË´Ï´Ù.
- ¿¹¿Ü:
DestroyFailedException
- ÆÄ±â 󸮰¡ ½ÇÆÐÇßÀ» °æ¿ì
java.lang.SecurityException
- È£Ãâ Ãø¿¡, ÀÌ Object
¸¦ ÆÄ±âÇÏ´Â ¾×¼¼½º±ÇÀÌ ¾ø´Â °æ¿ì
isDestroyed
public boolean isDestroyed()
- ÀÌ
Object
°¡ ÆÄ±âµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù.
- ¹Ýȯ°ª:
- ÀÌ
Object
°¡ ÆÄ±âµÇ¾úÀ» °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
»ç¿ë¿¡´Â»ç¿ë Çã¶ô °è¾àÀÌ Àû¿ëµË´Ï´Ù.