FileDocCategorySizeDatePackage
EntityManagerFactoryReferenceDescriptor.javaAPI DocGlassfish v2 API3215Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

EntityManagerFactoryReferenceDescriptor

public class EntityManagerFactoryReferenceDescriptor extends EnvironmentProperty implements com.sun.enterprise.deployment.types.EntityManagerFactoryReference
An object representing a component environment reference to an EntityManagerFactory

Fields Summary
private String
unitName
private BundleDescriptor
referringBundle
Constructors Summary
public EntityManagerFactoryReferenceDescriptor(String name, String unitName)


       
                                                     
        super(name, "", "");

        this.unitName = unitName;
    
public EntityManagerFactoryReferenceDescriptor()

Methods Summary
public java.lang.StringgetInjectResourceType()

        return "javax.persistence.EntityManagerFactory";
    
public BundleDescriptorgetReferringBundleDescriptor()

	return referringBundle;
    
public java.lang.StringgetUnitName()


        return unitName;

    
public voidsetInjectResourceType(java.lang.String resourceType)

    
public voidsetReferringBundleDescriptor(BundleDescriptor referringBundle)

	this.referringBundle = referringBundle;
    
public voidsetUnitName(java.lang.String unitName)

        
        this.unitName = unitName;