|
|||||||||||
| PREV CLASS NEXT CLASS | 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 invoker,
MBeanInfo 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 invoker,
MBeanInfo 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 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 invoker, MBeanInfo metadata) throws MBeanException
load in interface PersistenceManagerMBeanExceptionpublic void store(MBeanInfo metadata) throws MBeanException
store in interface PersistenceManagerMBeanExceptionprotected void init(ModelMBeanInvoker invoker, MBeanInfo metadata) throws MBeanException
MBeanExceptionprotected boolean isLoading()
protected void setIsLoading(boolean newIsLoading)
newIsLoading -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||