public class ExtendedEntityManager extends AbstractEntityManager implements Serializable
| Constructor and Description |
|---|
ExtendedEntityManager(String puScopedName,
javax.persistence.EntityManager underlyingEntityManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Catch the application trying to close the container managed entity manager and throw an IllegalStateException
|
void |
containerClose() |
boolean |
equals(Object otherObject)
Check if this object's UUID is equal to the otherObject's UUID
|
protected javax.persistence.EntityManager |
getEntityManager()
The JPA SFSB interceptor will track the stack of SFSB invocations.
|
String |
getScopedPuName()
Get the fully application scoped persistence unit name
Private api
|
int |
hashCode() |
void |
internalAssociateWithJtaTx()
Associate the extended persistence context with the current JTA transaction (if one is found)
this method is private to the JPA subsystem
|
protected boolean |
isExtendedPersistenceContext() |
protected boolean |
isInTx() |
String |
toString() |
clear, contains, createNamedQuery, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, detach, detachNonTxInvocation, detachQueryNonTxInvocation, detachTypedQueryNonTxInvocation, find, find, find, find, flush, getCriteriaBuilder, getDelegate, getEntityManagerFactory, getFlushMode, getLockMode, getMetamodel, getProperties, getReference, getTransaction, isOpen, joinTransaction, lock, lock, merge, persist, refresh, refresh, refresh, refresh, remove, setFlushMode, setProperty, unwrappublic ExtendedEntityManager(String puScopedName, javax.persistence.EntityManager underlyingEntityManager)
protected javax.persistence.EntityManager getEntityManager()
getEntityManager in class AbstractEntityManagerpublic void internalAssociateWithJtaTx()
protected boolean isExtendedPersistenceContext()
isExtendedPersistenceContext in class AbstractEntityManagerprotected boolean isInTx()
isInTx in class AbstractEntityManagerpublic void close()
close in interface javax.persistence.EntityManagerclose in class AbstractEntityManagerpublic void containerClose()
public String getScopedPuName()
public boolean equals(Object otherObject)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.