站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

PersistentMBean (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


javax.management
Interface PersistentMBean

All Known Subinterfaces:
ModelMBean
All Known Implementing Classes:
ModelMBeanInvoker, RequiredModelMBean

public interface PersistentMBean

This interface should be implemented by all MBeans that wish their state to be persisted.

Version:
$Revision: 1.4 $
Author:
Juha Lindfors.

Method Summary
 void load()
          Retrieves the MBean's state from a persistence store.
 void store()
          Stores the MBean's state to a persistence store.
 

Method Detail

load

public void load()
          throws MBeanException,
                 RuntimeOperationsException,
                 InstanceNotFoundException
Retrieves the MBean's state from a persistence store.

Throws:
MBeanException - wraps application exceptions from persistence store
InstanceNotFoundException - if the MBean's state could not be found
RuntimeOperationsException

store

public void store()
           throws MBeanException,
                  RuntimeOperationsException,
                  InstanceNotFoundException
Stores the MBean's state to a persistence store.

Throws:
MBeanException - wraps application exceptions from persistence store
InstanceNotFoundException - if the MBean's state could not be stored
RuntimeOperationsException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.