private class PersistenceAnnotationBeanPostProcessor.PersistenceElement extends InjectionMetadata.InjectedElement
Modifier and Type | Field and Description |
---|---|
private java.util.Properties |
properties |
private boolean |
synchronizedWithTransaction |
private PersistenceContextType |
type |
private java.lang.String |
unitName |
isField, member, pd, skip
Constructor and Description |
---|
PersistenceElement(java.lang.reflect.Member member,
java.lang.reflect.AnnotatedElement ae,
java.beans.PropertyDescriptor pd) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getResourceToInject(java.lang.Object target,
java.lang.String requestingBeanName)
Resolve the object against the application context.
|
private EntityManager |
resolveEntityManager(java.lang.String requestingBeanName) |
private EntityManagerFactory |
resolveEntityManagerFactory(java.lang.String requestingBeanName) |
private EntityManager |
resolveExtendedEntityManager(java.lang.Object target,
java.lang.String requestingBeanName) |
checkPropertySkipping, checkResourceType, clearPropertySkipping, equals, getMember, getResourceType, hashCode, inject, toString
private final java.lang.String unitName
private PersistenceContextType type
private boolean synchronizedWithTransaction
private java.util.Properties properties
public PersistenceElement(java.lang.reflect.Member member, java.lang.reflect.AnnotatedElement ae, java.beans.PropertyDescriptor pd)
protected java.lang.Object getResourceToInject(java.lang.Object target, java.lang.String requestingBeanName)
getResourceToInject
in class InjectionMetadata.InjectedElement
private EntityManagerFactory resolveEntityManagerFactory(java.lang.String requestingBeanName)
private EntityManager resolveEntityManager(java.lang.String requestingBeanName)
private EntityManager resolveExtendedEntityManager(java.lang.Object target, java.lang.String requestingBeanName)