JavaTM 2 Platform
Standard Ed. 5.0

javax.security.auth
ÀÎÅÍÆäÀ̽º Destroyable

¾Ë·ÁÁø ±¸Çö Ŭ·¡½º ¸ñ·Ï:
KerberosKey, KerberosTicket, KeyStore.PasswordProtection, X500PrivateCredential

public interface Destroyable

ÀڰݵîÀÇ °´Ã¼°¡ ±× ³»¿ëÀ» ÆıâÇϱâ À§ÇØ ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ÀÓÀÇ¿¡ ±¸ÇöÇÕ´Ï´Ù.

°ü·Ã Ç׸ñ:
Subject

¸Þ¼­µå °³¿ä
 void destroy ()
          ÀÌ Object¸¦ ÆıâÇÕ´Ï´Ù.
 boolean isDestroyed ()
          ÀÌ ObjectÀÌ ÆıâµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù.
 

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

destroy

void destroy()
             throws DestroyFailedException 
ÀÌ Object¸¦ ÆıâÇÕ´Ï´Ù.

ÀÌ Object¿¡ °ü·ÃµÈ Áß¿äÇÑ Á¤º¸´Â ÆıâµÉ±î ¼Ò°ÅµË´Ï´Ù. ÀÌÈÄ, ÀÌ Object¿¡ ´ëÇؼ­ ƯÁ¤ÀÇ ¸Þ¼­µå¸¦ È£ÃâÇϸé, IllegalStateException°¡ ¹ß»ý µË´Ï´Ù.

¿¹¿Ü:
DestroyFailedException - Æıâ 󸮰¡ ½ÇÆÐÇßÀ» °æ¿ì

SecurityException - È£Ãâ Ãø¿¡ ÀÌ Object¸¦ ÆıâÇÏ´Â Á¢±Ù ±ÇÇÑÀÌ ¾ø´Â °æ¿ì

isDestroyed

boolean isDestroyed()
ÀÌ ObjectÀÌ ÆıâµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù.

¹Ýȯ°ª:
ÀÌ ObjectÀÌ ÆıâµÇ¾úÀ» °æ¿ì´Â 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 µµ ÂüÁ¶ÇϽʽÿÀ.