|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.persist.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(MappingResolver mapResolver,
PersistenceFactory factory,
LogInterceptor logInterceptor)
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(MappingResolver mapResolver,
PersistenceFactory factory,
LogInterceptor logInterceptor)
throws MappingException
mapResolver - All the descriptors supported by this enginefactory - Persistence SPI factorylogInterceptor - Optional log/trace interceptor
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 | |||||||||