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: 8994 $ $Date: 2011-08-02 01:40:59 +0200 (Di, 02 Aug 2011) $
- 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 © 2012. All Rights Reserved.