Interface EntityManagerReference
-
- All Superinterfaces:
InjectionCapable
,NamedInformation
- All Known Implementing Classes:
EntityManagerReferenceDescriptor
public interface EntityManagerReference extends NamedInformation, InjectionCapable
Protocol associated with defining an EntityManager reference
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.persistence.PersistenceContextType
getPersistenceContextType()
Map<String,String>
getProperties()
BundleDescriptor
getReferringBundleDescriptor()
Get the referring bundle, i.e.jakarta.persistence.SynchronizationType
getSynchronizationType()
String
getUnitName()
Get the unit name of the entity manager factory to which this reference is associated.void
setPersistenceContextType(jakarta.persistence.PersistenceContextType type)
void
setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e.void
setSynchronizationType(jakarta.persistence.SynchronizationType type)
void
setUnitName(String unitName)
Set the unit name of the entity manager factory to which this reference is associated.-
Methods inherited from interface com.sun.enterprise.deployment.InjectionCapable
addInjectionTarget, getComponentEnvName, getInjectionTargets, getInjectResourceType, isInjectable, setInjectResourceType
-
Methods inherited from interface com.sun.enterprise.deployment.types.NamedInformation
getDescription, getName, setDescription, setName
-
-
-
-
Method Detail
-
setUnitName
void setUnitName(String unitName)
Set the unit name of the entity manager factory to which this reference is associated.
-
getUnitName
String getUnitName()
Get the unit name of the entity manager factory to which this reference is associated.
-
setPersistenceContextType
void setPersistenceContextType(jakarta.persistence.PersistenceContextType type)
-
getPersistenceContextType
jakarta.persistence.PersistenceContextType getPersistenceContextType()
-
getSynchronizationType
jakarta.persistence.SynchronizationType getSynchronizationType()
-
setSynchronizationType
void setSynchronizationType(jakarta.persistence.SynchronizationType type)
-
setReferringBundleDescriptor
void setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e. the bundle within which this reference is declared.
-
getReferringBundleDescriptor
BundleDescriptor getReferringBundleDescriptor()
Get the referring bundle, i.e. the bundle within which this reference is declared.
-
-