mx4j.persist
Class MBeanPersister
- PersisterMBean
public class MBeanPersister
A persister that delegates the persistence to a registered persister MBean.
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.
|
Object | load() - Loads the information persisted on the storage media.
|
void | store(Object data) - Store the given information to the storage media.
|
MBeanPersister
public 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.
load
public Object load()
throws javax.management.MBeanException,
javax.management.RuntimeOperationsException,
javax.management.InstanceNotFoundException
Loads the information persisted on the storage media.
- load in interface PersisterMBean
store
public void store(Object data)
throws javax.management.MBeanException,
javax.management.RuntimeOperationsException,
javax.management.InstanceNotFoundException
Store the given information to the storage media.
- store in interface PersisterMBean
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.