public class MBeanPersister extends Persister
Constructor and Description |
---|
MBeanPersister(javax.management.MBeanServer server,
javax.management.ObjectName name)
Creates a new MBeanPersister that delegates persistence to a persister MBean
registered in the specified MBeanServer with the specified ObjectName.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
load()
Loads the information persisted on the storage media.
|
void |
store(java.lang.Object data)
Store the given information to the storage media.
|
public MBeanPersister(javax.management.MBeanServer server, javax.management.ObjectName name)
public java.lang.Object load() throws javax.management.MBeanException, javax.management.RuntimeOperationsException, javax.management.InstanceNotFoundException
PersisterMBean
javax.management.MBeanException
javax.management.RuntimeOperationsException
javax.management.InstanceNotFoundException
PersisterMBean.store(java.lang.Object)
public void store(java.lang.Object data) throws javax.management.MBeanException, javax.management.RuntimeOperationsException, javax.management.InstanceNotFoundException
PersisterMBean
javax.management.MBeanException
javax.management.RuntimeOperationsException
javax.management.InstanceNotFoundException
PersisterMBean.load()