public interface PersistentMBean
void load()
throws MBeanException,
RuntimeOperationsException,
InstanceNotFoundException
MBeanException - その他の例外をラップする場合、または永続性がサポートされない場合RuntimeOperationsException - 永続メカニズムからの例外をラップする場合InstanceNotFoundException - この MBean が見つからない場合、または永続ストレージからロードできない場合void store()
throws MBeanException,
RuntimeOperationsException,
InstanceNotFoundException
MBean の永続性ポリシーおよび属性記述子を使って、このメソッドの実行を制御します。persistPolicy フィールドが次の内容になっている場合、MBean は格納されます。
!= "never" = "always" = "onTimer" and now > 'lastPersistTime' + 'persistPeriod' = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod' = "onUnregister"Do not store the MBean if 'persistPolicy' field is: = "never" = "onUpdate" = "onTimer" && now < 'lastPersistTime' + 'persistPeriod'
MBeanException - その他の例外をラップする場合、または永続性がサポートされない場合RuntimeOperationsException - 永続メカニズムからの例外をラップする場合InstanceNotFoundException - 永続ストアが見つからない場合、またはアクセスできない場合 バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.