org.jboss.seam.persistence
Class SeamManagedPersistenceContextCreated
java.lang.Object
org.jboss.seam.persistence.SeamManagedPersistenceContextCreated
public class SeamManagedPersistenceContextCreated
- extends Object
Event that is fired when the SMPC is created. This allows you to configure
the SMPC before it is used, e.g. by enabling Hibernate filters.
NOTE: If you are using EntityTransaction
you must not attempt to
access the current SeamTransaction
from observers for this event, as
an infinite loop will result.
NOTE: The entityManger property is the unproxied EntityManager, not the seam
proxy.
- Author:
- Stuart Douglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamManagedPersistenceContextCreated
public SeamManagedPersistenceContextCreated(EntityManager entityManager)
getEntityManager
public EntityManager getEntityManager()
Copyright © 2011 Seam Framework. All Rights Reserved.