org.jaffa.persistence.engines
Class PersistenceEngineFactory
java.lang.Object
   org.jaffa.persistence.engines.PersistenceEngineFactory
org.jaffa.persistence.engines.PersistenceEngineFactory
- public class PersistenceEngineFactory- extends Object
A factory class that returns an instance of a Persistence Engine.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PersistenceEngineFactory
public PersistenceEngineFactory()
newInstance
public static IPersistenceEngine newInstance()
                                      throws EngineInstantiationException
- Returns an instance of IPersistenceEngine.
 It reads the 'framework.persistence.Persistence_Engine' property from the framework.properties file.
 It then instantiates the class returned by the property.
 
- 
- Returns:
- an instance of IPersistenceEngine.
- Throws:
- EngineInstantiationException- if the property is not defined, or if  the class cannot be found, or if the class canot be instantiated.
 
Copyright © 2002-2004 JAFFA Project.