| Package | Description |
|---|---|
| org.nuiton.topia.persistence |
This package contains most of the needed contracts when using ToPIA.
|
| org.nuiton.topia.persistence.internal | |
| org.nuiton.topia.persistence.internal.support |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TopiaPersistenceContext
This contract represents a persistence context, which lifecycle is linked to the transaction lifecycle.
|
| Modifier and Type | Method and Description |
|---|---|
TopiaDaoSupplier |
TopiaEntityContextable.getTopiaDaoSupplier() |
| Modifier and Type | Method and Description |
|---|---|
void |
TopiaEntityContextable.setTopiaDaoSupplier(TopiaDaoSupplier topiaDaoSupplier)
Injects into this entity the given
TopiaDaoSupplier, which can be used to
get any Dao instance. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTopiaPersistenceContext
Abstract implementation of the TopiaPersistenceContext.
|
| Modifier and Type | Field and Description |
|---|---|
protected TopiaDaoSupplier |
AbstractTopiaDao.topiaDaoSupplier |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTopiaDao.init(TopiaJpaSupport topiaJpaSupport,
TopiaHibernateSupport topiaHibernateSupport,
TopiaSqlSupport topiaSqlSupport,
TopiaListenableSupport topiaListenableSupport,
TopiaIdFactory topiaIdFactory,
TopiaFiresSupport topiaFiresSupport,
TopiaDaoSupplier topiaDaoSupplier)
When AbstractTopiaContext create the TopiaDAOHibernate, it must call this
method just after.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TopiaHibernateEventListener.attachContext(Object entity,
TopiaDaoSupplier daoSupplier) |
Copyright © 2004–2014 CodeLutin. All rights reserved.