|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceMapperFactory
Creates persistence mapper instances.
Note: Implementors must be thread-safe!
Method Summary | ||
---|---|---|
|
getMapper(Class<T> clazz)
Returns the persistence mapper for objects of class clazz . |
Method Detail |
---|
<T> PersistenceMapper<T> getMapper(Class<T> clazz)
Returns the persistence mapper for objects of class clazz
.
Note: It is highly recommended that clients cache the returned persistence mapper for as long as the transaction is active.
The persistence mapper must not be used across transaction boundaries. That is, a persistence mapper must not be used during a different transaction than the one during which it was created.
InitializationException
- when there is an error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |