public interface Destroyable
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this object, clearing all sensitive fields appropriately.
|
boolean |
isDestroyed()
Tells whether or not this object has been destroyed.
|
void destroy() throws DestroyFailedException
DestroyFailedException
- If this object could not be
destroyed.SecurityException
- If the caller does not have permission
to destroy this object.boolean isDestroyed()