org.exolab.castor.persist
Class PersistenceEngineFactory
java.lang.Object
org.exolab.castor.persist.PersistenceEngineFactory
public final class PersistenceEngineFactory
- extends Object
Factory for constructing new persistence engines. Used by the APIs
to obtain a new persistence engine using an SPI factory and mapping
resolver. The returned object implements the LockEngine
interface.
- Version:
- $Revision: 8111 $ $Date: 2005-07-24 11:48:19 -0600 (Sun, 24 Jul 2005) $
- Author:
- Assaf Arkin, Bruce Snyder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceEngineFactory
public PersistenceEngineFactory()
createEngine
public LockEngine createEngine(DatabaseContext databaseContext,
ClassDescriptorResolver cdResolver,
PersistenceFactory persistenceFactory)
throws MappingException
- Creates and returns a new persistence engine.
- Throws:
MappingException - The SPI factory could not support one of
object types due to a mapping errot
Copyright © 2010. All Rights Reserved.