com.sun.enterprise.deployment.types
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
 BundleDescriptor getReferringBundleDescriptor()
          Get the referring bundle, i.e.
 java.lang.String getUnitName()
          Get the unit name of the entity manager factory to which this reference is associated.
 void setReferringBundleDescriptor(BundleDescriptor referringBundle)
          Set the referring bundle, i.e.
 void setUnitName(java.lang.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.types.NamedInformation
getDescription, getName, setDescription, setName
 
Methods inherited from interface com.sun.enterprise.deployment.InjectionCapable
addInjectionTarget, getComponentEnvName, getInjectionTargets, getInjectResourceType, isInjectable, setInjectResourceType
 

Method Detail

setUnitName

void setUnitName(java.lang.String unitName)
Set the unit name of the entity manager factory to which this reference is associated.


getUnitName

java.lang.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.



Copyright © 2012 GlassFish Community. All Rights Reserved.