|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.granite.tide.seam.lazy.TideHibernatePersistenceFactory
public class TideHibernatePersistenceFactory
Factory for creating the correct ITidePersistenceManager based on the persistence strategy passed in. Supported types are EntityManager,Session, EntityQuery, EntityHome, HibernateEntityHome and a injected(@In) EntityManager or HibernateSession
| Constructor Summary | |
|---|---|
TideHibernatePersistenceFactory()
|
|
| Method Summary | |
|---|---|
static org.granite.tide.TidePersistenceManager |
createTidePersistence(Component component,
Component.BijectedAttribute<In> att)
Create a ITidePersistenceManager for a injected attribute(@In). |
static org.granite.tide.TidePersistenceManager |
createTidePersistence(Component component,
EntityManager persistenceType)
Create a ITideInterceptor for a EntityManager. |
static org.granite.tide.TidePersistenceManager |
createTidePersistence(Component component,
Object persistenceType)
Create the ITidePersistenceManager. |
static org.granite.tide.TidePersistenceManager |
createTidePersistence(Component component,
PersistenceController<?> controller)
Create ITidePersistenceManager for a PersistenceController |
static org.granite.tide.TidePersistenceManager |
createTidePersistence(Component component,
org.hibernate.Session persistenceType)
Create ITidePersistenceManager for a HibernateSession |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TideHibernatePersistenceFactory()
| Method Detail |
|---|
public static org.granite.tide.TidePersistenceManager createTidePersistence(Component component,
Object persistenceType)
component - persistenceType -
public static org.granite.tide.TidePersistenceManager createTidePersistence(Component component,
EntityManager persistenceType)
component - persistenceType -
public static org.granite.tide.TidePersistenceManager createTidePersistence(Component component,
org.hibernate.Session persistenceType)
component - persistenceType -
public static org.granite.tide.TidePersistenceManager createTidePersistence(Component component,
PersistenceController<?> controller)
component - controller -
public static org.granite.tide.TidePersistenceManager createTidePersistence(Component component,
Component.BijectedAttribute<In> att)
component - att -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||