Movatterモバイル変換


[0]ホーム

URL:


         


Interface Destroyable


public interfaceDestroyable

Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

See Also:
Subject

destroy()
          Destroy thisObject.
isDestroyed()
          Determine if thisObject has been destroyed.
 

destroy

public voiddestroy()             throwsDestroyFailedException
Destroy thisObject.

Sensitive information associated with thisObject is destroyed or cleared. Subsequent calls to certain methods on thisObject will result in anIllegalStateException being thrown.

Throws:
DestroyFailedException - if the destroy operation fails.

java.lang.SecurityException - if the caller does not have permissionto destroy thisObject.

isDestroyed

public booleanisDestroyed()
Determine if thisObject has been destroyed.

Returns:
true if thisObject has been destroyed,false otherwise.

         


[8]ページ先頭

©2009-2025 Movatter.jp