org.granite.tide.seam.lazy
Class SeamHibernateManager
java.lang.Object
org.granite.tide.seam.lazy.HibernateContextManager
org.granite.tide.seam.lazy.SeamHibernateManager
- All Implemented Interfaces:
- org.granite.tide.TidePersistenceManager
public class SeamHibernateManager
- extends HibernateContextManager
Manager responsible for looking up the Hibernate Session for the
passed in SessionManagerName
- Author:
- CIngram
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamHibernateManager
public SeamHibernateManager(String sessionManagerName)
fetchEntity
public Object fetchEntity(Object entity,
String[] fetch)
- Attach the passed in entity with the HibernateManager stored
in Seam.
- Overrides:
fetchEntity in class HibernateContextManager
- Parameters:
entity -
- Returns:
- the attached hibernate object
disconnectSession
protected void disconnectSession()
- Disconnects from the current hibernate session.
- Overrides:
disconnectSession in class HibernateContextManager