|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HibernateEntityLifecycleInjector
The lifecycle injector is responsible injected and removing lifecycle event listneres.
| Method Summary | |
|---|---|
void |
injectLifecycle(SessionFactory sessionFactory,
HibernateGpsDevice device)
Injects a global lifecycle listener into the concrete SessionFactory |
void |
removeLifecycle(SessionFactory sessionFactory,
HibernateGpsDevice device)
Removes (if possible) lifecycle listeners injected using the inject method. |
| Method Detail |
|---|
void injectLifecycle(SessionFactory sessionFactory,
HibernateGpsDevice device)
throws HibernateGpsDeviceException
SessionFactory
implementation.
- Parameters:
sessionFactory - The SessionFactory to inject the global lifecycle to.device - The Jpa device calling this injector
- Throws:
HibernateGpsDeviceException
void removeLifecycle(SessionFactory sessionFactory,
HibernateGpsDevice device)
throws HibernateGpsDeviceException
sessionFactory - The SessionFactory to remove lifecycle fromdevice - The Jpa device calling
HibernateGpsDevice
HibernateGpsDeviceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||