public class EntityManagerReferenceDescriptor extends EnvironmentProperty implements EntityManagerReference
lookupName, mappedNameDESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
EntityManagerReferenceDescriptor() |
EntityManagerReferenceDescriptor(String name,
String unitName,
javax.persistence.PersistenceContextType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String name,
String value) |
String |
getInjectResourceType()
This is the class name of the type of resource that is to be injected.
|
javax.persistence.PersistenceContextType |
getPersistenceContextType() |
Map<String,String> |
getProperties() |
BundleDescriptor |
getReferringBundleDescriptor()
Get the referring bundle, i.e.
|
javax.persistence.SynchronizationType |
getSynchronizationType() |
String |
getUnitName()
Get the unit name of the entity manager factory to which this
reference is associated.
|
boolean |
isConflict(EntityManagerReferenceDescriptor other) |
void |
setInjectResourceType(String resourceType) |
void |
setPersistenceContextType(javax.persistence.PersistenceContextType type) |
void |
setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e.
|
void |
setSynchronizationType(javax.persistence.SynchronizationType synchronizationType) |
void |
setUnitName(String unitName)
Set the unit name of the entity manager factory to which this
reference is associated.
|
addInjectionTarget, equals, getComponentEnvName, getInjectionTargets, getLookupName, getMappedName, getResolvedValue, getResolvedValueObject, getType, getValue, getValueObject, getValueType, hasAValue, hashCode, hasInjectionTargetFromXml, hasLookupName, isConflict, isConflictResourceGroup, isInjectable, isSetValueCalled, print, printInjectableResourceInfo, setLookupName, setMappedName, setType, setValueaddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getName, setDescription, setNameaddInjectionTarget, getComponentEnvName, getInjectionTargets, isInjectablegetDescription, getLargeIconUri, getName, getSmallIconUri, setDescription, setLargeIconUri, setName, setSmallIconUrigetDescription, getName, setDescription, setNamepublic EntityManagerReferenceDescriptor(String name, String unitName, javax.persistence.PersistenceContextType type)
public EntityManagerReferenceDescriptor()
public void setUnitName(String unitName)
EntityManagerReferencesetUnitName in interface EntityManagerReferencepublic String getUnitName()
EntityManagerReferencegetUnitName in interface EntityManagerReferencepublic String getInjectResourceType()
InjectionCapablegetInjectResourceType in interface InjectionCapablegetInjectResourceType in class EnvironmentPropertypublic void setInjectResourceType(String resourceType)
setInjectResourceType in interface InjectionCapablesetInjectResourceType in class EnvironmentPropertypublic void setPersistenceContextType(javax.persistence.PersistenceContextType type)
setPersistenceContextType in interface EntityManagerReferencepublic javax.persistence.PersistenceContextType getPersistenceContextType()
getPersistenceContextType in interface EntityManagerReferencepublic javax.persistence.SynchronizationType getSynchronizationType()
getSynchronizationType in interface EntityManagerReferencepublic void setSynchronizationType(javax.persistence.SynchronizationType synchronizationType)
setSynchronizationType in interface EntityManagerReferencepublic Map<String,String> getProperties()
getProperties in interface EntityManagerReferencepublic void setReferringBundleDescriptor(BundleDescriptor referringBundle)
EntityManagerReferencesetReferringBundleDescriptor in interface EntityManagerReferencepublic BundleDescriptor getReferringBundleDescriptor()
EntityManagerReferencegetReferringBundleDescriptor in interface EntityManagerReferencepublic boolean isConflict(EntityManagerReferenceDescriptor other)
Copyright © 2017. All rights reserved.