Interface EntityManagerFactoryReference
-
- All Superinterfaces:
InjectionCapable,NamedInformation
- All Known Implementing Classes:
EntityManagerFactoryReferenceDescriptor
public interface EntityManagerFactoryReference extends NamedInformation, InjectionCapable
Protocol associated with defining an EntityManagerFactory reference
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BundleDescriptorgetReferringBundleDescriptor()Get the referring bundle, i.e.StringgetUnitName()Get the unit name of the entity manager factory to which this reference is associated.voidsetReferringBundleDescriptor(BundleDescriptor referringBundle)Set the referring bundle, i.e.voidsetUnitName(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.
-
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.
-
-