|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface Destroyable
ÀڰݵîÀÇ °´Ã¼°¡ ±× ³»¿ëÀ» ÆÄ±âÇϱâ À§ÇØ ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ÀÓÀÇ¿¡ ±¸ÇöÇÕ´Ï´Ù.
Subject
¸Þ¼µå °³¿ä | |
---|---|
void |
destroy ()
ÀÌ Object ¸¦ ÆÄ±âÇÕ´Ï´Ù. |
boolean |
isDestroyed ()
ÀÌ Object ÀÌ ÆÄ±âµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
void destroy() throws DestroyFailedException
Object
¸¦ ÆÄ±âÇÕ´Ï´Ù.
ÀÌ Object
¿¡ °ü·ÃµÈ Áß¿äÇÑ Á¤º¸´Â ÆÄ±âµÉ±î ¼Ò°ÅµË´Ï´Ù. ÀÌÈÄ, ÀÌ Object
¿¡ ´ëÇØ¼ ƯÁ¤ÀÇ ¸Þ¼µå¸¦ È£ÃâÇϸé, IllegalStateException
°¡ ¹ß»ý µË´Ï´Ù.
DestroyFailedException
- ÆÄ±â 󸮰¡ ½ÇÆÐÇßÀ» °æ¿ì
SecurityException
- È£Ãâ Ãø¿¡
ÀÌ Object
¸¦ ÆÄ±âÇÏ´Â Á¢±Ù ±ÇÇÑÀÌ ¾ø´Â °æ¿ìboolean isDestroyed()
Object
ÀÌ ÆÄ±âµÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù.
Object
ÀÌ ÆÄ±âµÇ¾úÀ» °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.