Movatterモバイル変換


[0]ホーム

URL:


         


Interface Refreshable


public interfaceRefreshable

Objects such as credentials may optionally implement this interface to provide the capability to refresh itself. For example, a credential with a particular time-restricted lifespan may implement this interface to allow callers to refresh the time period for which it is valid.

See Also:
Subject

isCurrent()
          Determine if thisObject is current.
refresh()
          Update or extend the validity period for thisObject.
 

isCurrent

public booleanisCurrent()
Determine if thisObject is current.

Returns:
true if thisObject is currently current,false otherwise.

refresh

public voidrefresh()             throwsRefreshFailedException
Update or extend the validity period for thisObject.

Throws:
java.lang.SecurityException - if the caller does not have permissionto update or extend the validity period for thisObject.

RefreshFailedException - if the refresh attempt failed.

         


[8]ページ先頭

©2009-2025 Movatter.jp