Package org.jgroups.persistence
Class PersistenceFactory
java.lang.Object
org.jgroups.persistence.PersistenceFactory
Deprecated.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Reads the default properties and creates a persistencemanager The default properties are picked up from the $USER_HOME or from the classpath.createManager(String filePath) Deprecated.Duplicated signature to create PersistenceManager to allow user to provide property path.static PersistenceFactoryDeprecated.Singular public method to get access to any of the Persistence Manager implementations.voidregisterManager(PersistenceManager manager) Deprecated.Register a custom persistence manager as opposed to theFilePersistenceManagerorDBPersistenceManager.
-
Field Details
-
log
Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Singular public method to get access to any of the Persistence Manager implementations. It is important to known at this point that properties determine the implementation of the Persistence Manager, there is no direct interface which gives access to either DB implemented ot FILE implemented storage API.- Returns:
- PersistenceFactory;
-
registerManager
Deprecated.Register a custom persistence manager as opposed to theFilePersistenceManagerorDBPersistenceManager. -
createManager
Deprecated.Reads the default properties and creates a persistencemanager The default properties are picked up from the $USER_HOME or from the classpath. Default properties are represented by "persist.properties"- Returns:
- PersistenceManager
- Throws:
Exception
-
createManager
Deprecated.Duplicated signature to create PersistenceManager to allow user to provide property path.- Parameters:
filePath- complete pathname to get the properties- Returns:
- PersistenceManager;
- Throws:
Exception
-