|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.persistence.DelegatingPersistenceManager
DelegatingPersistenceManager. An XMBean Persistence Manager that delegates to an external MBean-controlled implementation the actual persistence of MBean attributes.
Constructor Summary | |
DelegatingPersistenceManager()
|
Method Summary | |
protected void |
init(ModelMBeanInvoker (src) invoker,
MBeanInfo (src) metadata)
Lazy initialization Gets the external persistor to use and decides on the persistName to use for this MBean load()/store() calls. |
protected boolean |
isLoading()
Check if we are loading state |
void |
load(ModelMBeanInvoker (src) invoker,
MBeanInfo (src) metadata)
Called initialy when the XMBean is constructed in order to load and set the attributes of the MBean, if their persistent image exists. |
protected void |
setIsLoading(boolean newIsLoading)
Set the loading status |
void |
store(MBeanInfo (src) metadata)
store() is triggered by the PersistenceInterceptor based on the persistence policy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DelegatingPersistenceManager()
Method Detail |
public void load(ModelMBeanInvoker (src) invoker, MBeanInfo (src) metadata) throws MBeanException (src)
load
in interface PersistenceManager (src)
MBeanException (src)
public void store(MBeanInfo (src) metadata) throws MBeanException (src)
store
in interface PersistenceManager (src)
MBeanException (src)
protected void init(ModelMBeanInvoker (src) invoker, MBeanInfo (src) metadata) throws MBeanException (src)
MBeanException (src)
protected boolean isLoading()
protected void setIsLoading(boolean newIsLoading)
newIsLoading
-
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |