org.jgroups.persistence
public class PersistenceFactory extends Object
| Field Summary | |
|---|---|
| protected static 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(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. |
Returns: PersistenceManager
Throws: Exception;
Parameters: filePath complete pathname to get the properties
Returns: PersistenceManager;
Throws: Exception;
Returns: PersistenceFactory;