org.granite.tide.seam.lazy
Class HibernatePersistenceControllerManager

java.lang.Object
  extended by org.granite.tide.seam.lazy.PersistenceContextManager
      extended by org.granite.tide.seam.lazy.HibernatePersistenceControllerManager
All Implemented Interfaces:
org.granite.tide.TidePersistenceManager

public class HibernatePersistenceControllerManager
extends PersistenceContextManager

Manager responsible for looking up the EntityHome from the Seam context.

Author:
cingram

Constructor Summary
HibernatePersistenceControllerManager(String controllerName)
           
 
Method Summary
 Object fetchEntity(Object entity, String[] fetch)
          Attach the passed in entity with the EntityManager stored in the EntityHome object.
 
Methods inherited from class org.granite.tide.seam.lazy.PersistenceContextManager
attachEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernatePersistenceControllerManager

public HibernatePersistenceControllerManager(String controllerName)
Method Detail

fetchEntity

public Object fetchEntity(Object entity,
                          String[] fetch)
Attach the passed in entity with the EntityManager stored in the EntityHome object.

Overrides:
fetchEntity in class PersistenceContextManager
Parameters:
entity -
Returns:
the attached hibernate object