|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.persistence.PersistenceFactory
Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
Method Summary | |
PersistenceManager |
createManager()
Reads the default properties and creates a persistencemanager The default properties are picked up from the $USER_HOME or from the classpath. |
PersistenceManager |
createManager(java.lang.String filePath)
Duplicated signature to create PersistenceManager to allow user to provide property path. |
static PersistenceFactory |
getInstance()
Singular public method to get access to any of the Persistence Manager implementations. |
void |
registerManager(PersistenceManager manager)
Register a custom persistence manager as opposed to the FilePersistenceManager or DBPersistenceManager . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.commons.logging.Log log
Method Detail |
public static PersistenceFactory getInstance()
public void registerManager(PersistenceManager manager)
FilePersistenceManager
or DBPersistenceManager
.
public PersistenceManager createManager() throws java.lang.Exception
Exception;
java.lang.Exception
public PersistenceManager createManager(java.lang.String filePath) throws java.lang.Exception
filePath
- complete pathname to get the properties
Exception;
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |