|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.persist.PersistenceEngineFactory
public final class PersistenceEngineFactory
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.
Constructor Summary | |
---|---|
PersistenceEngineFactory()
|
Method Summary | |
---|---|
LockEngine |
createEngine(ConnectionFactory connectionFactory,
MappingResolver mapResolver,
PersistenceFactory persistenceFactory)
Creates and returns a new persistence engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceEngineFactory()
Method Detail |
---|
public LockEngine createEngine(ConnectionFactory connectionFactory, MappingResolver mapResolver, PersistenceFactory persistenceFactory) throws MappingException
mapResolver
- All the descriptors supported by this enginefactory
- Persistence SPI factory
MappingException
- The SPI factory could not support one of
object types due to a mapping errot
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |