FileDocCategorySizeDatePackage
EntityManagerReference.javaAPI DocGlassfish v2 API3216Fri May 04 22:31:54 BST 2007com.sun.enterprise.deployment.types

EntityManagerReference

public interface EntityManagerReference implements com.sun.enterprise.deployment.InjectionCapable, NamedInformation
Protocol associated with defining an EntityManager reference

Fields Summary
Constructors Summary
Methods Summary
public javax.persistence.PersistenceContextTypegetPersistenceContextType()

public java.util.MapgetProperties()

public com.sun.enterprise.deployment.BundleDescriptorgetReferringBundleDescriptor()
Get the referring bundle, i.e. the bundle within which this reference is declared.

public java.lang.StringgetUnitName()
Get the unit name of the entity manager factory to which this reference is associated.

public voidsetPersistenceContextType(javax.persistence.PersistenceContextType type)

public voidsetReferringBundleDescriptor(com.sun.enterprise.deployment.BundleDescriptor referringBundle)
Set the referring bundle, i.e. the bundle within which this reference is declared.

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