| Package | Description |
|---|---|
| org.nuiton.topia.persistence |
This package contains most of the needed contracts when using ToPIA.
|
| org.nuiton.topia.persistence.event |
Events used for ToPIA services.
|
| org.nuiton.topia.persistence.internal | |
| org.nuiton.topia.persistence.internal.support | |
| org.nuiton.topia.persistence.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TopiaApplicationContext<K extends TopiaPersistenceContext>
This is the main entry point for ToPIA.
|
| Modifier and Type | Method and Description |
|---|---|
TopiaPersistenceContext |
TopiaEntityEvent.getSource() |
TopiaPersistenceContext |
TopiaTransactionEvent.getSource() |
| Constructor and Description |
|---|
TopiaEntityEvent(TopiaPersistenceContext source,
TopiaEntity entity,
Object[] state) |
TopiaTransactionEvent(TopiaPersistenceContext source) |
TopiaTransactionEvent(TopiaPersistenceContext source,
Map<TopiaEntity,EntityState> entities) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTopiaApplicationContext<K extends TopiaPersistenceContext>
The application context is the main class in ToPIA usage.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTopiaPersistenceContext
Abstract implementation of the TopiaPersistenceContext.
|
| Modifier and Type | Field and Description |
|---|---|
protected Set<TopiaPersistenceContext> |
AbstractTopiaApplicationContext.persistenceContexts
A set of known initialized opened persistence contexts.
|
protected WeakHashMap<org.hibernate.Session,WeakReference<TopiaPersistenceContext>> |
TopiaHibernateSessionRegistry.registry |
| Modifier and Type | Method and Description |
|---|---|
TopiaPersistenceContext |
TopiaHibernateSessionRegistry.getPersistenceContext(org.hibernate.Session session)
Look for the TopiaPersistenceContext based on the given Hibernate session
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopiaHibernateSessionRegistry.register(org.hibernate.Session session,
TopiaPersistenceContext persistenceContext)
Register the Session ↔ TopiaPersistenceContext couple
|
protected void |
AbstractTopiaApplicationContext.registerPersistenceContext(TopiaPersistenceContext persistenceContext) |
| Modifier and Type | Method and Description |
|---|---|
protected TopiaPersistenceContext |
TopiaHibernateEventListener.getContext(org.hibernate.event.spi.AbstractEvent event)
Look for the TopiaPersistenceContext based on the given Hibernate session
|
| Modifier and Type | Method and Description |
|---|---|
static <E extends TopiaEntity> |
TopiaEntityHelper.getEntities(TopiaPersistenceContext srcCtxt,
List<E> entityList,
boolean canBeNull) |
static TopiaEntity[] |
TopiaEntityHelper.getEntities(TopiaPersistenceContext srcCtxt,
String... entityList) |
static List<? extends TopiaEntity> |
TopiaEntityHelper.getEntitiesList(TopiaPersistenceContext srcCtxt,
String... entityList) |
Copyright © 2004–2017 CodeLutin. All rights reserved.