javax.security.auth
Interface Destroyable
All known implementing classes:
- public interface Destroyable
See Also:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
destroy()
Destroy this
Object .
|
|
isDestroyed()
Determine if this
Object has been destroyed.
|
Method Detail
destroy
- void destroy()
- throws DestroyFailedException
Throws:
DestroyFailedException
- if the destroy operation fails.
java.lang.SecurityException
- if the caller does not have permission
to destroy this Object
. isDestroyed
- boolean isDestroyed()
Determine if this
Object
has been destroyed.
Returns:
true if this
Object
has been destroyed,
false otherwise.
Object
.Sensitive information associated with this
Object
is destroyed or cleared. Subsequent calls to certain methods on thisObject
will result in anIllegalStateException
being thrown.