com.sun.enterprise.deployment
Class EntityManagerFactoryReferenceDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.EnvironmentProperty
com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor
- All Implemented Interfaces:
- InjectionCapable, ApplicationParameter, EntityManagerFactoryReference, NamedInformation, ContextParameter, EnvironmentEntry, InitializationParameter, NameValuePair, WebDescriptor, java.io.Serializable
public class EntityManagerFactoryReferenceDescriptor
- extends EnvironmentProperty
- implements EntityManagerFactoryReference
An object representing a component environment reference
to an EntityManagerFactory
- See Also:
- Serialized Form
| Methods inherited from class com.sun.enterprise.deployment.EnvironmentProperty |
addInjectionTarget, equals, getComponentEnvName, getInjectionTargets, getLookupName, getMappedName, getResolvedValue, getResolvedValueObject, getType, getValue, getValueObject, getValueType, hasAValue, hashCode, hasInjectionTargetFromXml, hasLookupName, isConflictResourceGroup, isInjectable, isSetValueCalled, print, printInjectableResourceInfo, setLookupName, setMappedName, setType, setValue |
| Methods inherited from class com.sun.enterprise.deployment.Descriptor |
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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, visit |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EntityManagerFactoryReferenceDescriptor
public EntityManagerFactoryReferenceDescriptor(java.lang.String name,
java.lang.String unitName)
EntityManagerFactoryReferenceDescriptor
public EntityManagerFactoryReferenceDescriptor()
setUnitName
public void setUnitName(java.lang.String unitName)
- Description copied from interface:
EntityManagerFactoryReference
- Set the unit name of the entity manager factory to which this
reference is associated.
- Specified by:
setUnitName in interface EntityManagerFactoryReference
getUnitName
public java.lang.String getUnitName()
- Description copied from interface:
EntityManagerFactoryReference
- Get the unit name of the entity manager factory to which this
reference is associated.
- Specified by:
getUnitName in interface EntityManagerFactoryReference
getInjectResourceType
public java.lang.String getInjectResourceType()
- Description copied from interface:
InjectionCapable
- This is the class name of the type of resource that is to be injected.
- Specified by:
getInjectResourceType in interface InjectionCapable- Overrides:
getInjectResourceType in class EnvironmentProperty
setInjectResourceType
public void setInjectResourceType(java.lang.String resourceType)
- Specified by:
setInjectResourceType in interface InjectionCapable- Overrides:
setInjectResourceType in class EnvironmentProperty
setReferringBundleDescriptor
public void setReferringBundleDescriptor(BundleDescriptor referringBundle)
- Description copied from interface:
EntityManagerFactoryReference
- Set the referring bundle, i.e. the bundle within which this
reference is declared.
- Specified by:
setReferringBundleDescriptor in interface EntityManagerFactoryReference
getReferringBundleDescriptor
public BundleDescriptor getReferringBundleDescriptor()
- Description copied from interface:
EntityManagerFactoryReference
- Get the referring bundle, i.e. the bundle within which this
reference is declared.
- Specified by:
getReferringBundleDescriptor in interface EntityManagerFactoryReference
Copyright © 2012 GlassFish Community. All Rights Reserved.