1 23 24 package com.sun.enterprise.deployment.types; 25 import java.util.Map ; 26 import javax.persistence.PersistenceContextType; 27 28 import com.sun.enterprise.deployment.InjectionCapable; 29 import com.sun.enterprise.deployment.BundleDescriptor; 30 31 35 public interface EntityManagerReference extends NamedInformation, 36 InjectionCapable { 37 38 42 public void setUnitName(String unitName); 43 44 45 49 public String getUnitName(); 50 51 52 public void setPersistenceContextType(PersistenceContextType type); 53 public PersistenceContextType getPersistenceContextType(); 54 55 public Map <String ,String > getProperties(); 56 57 61 public void setReferringBundleDescriptor(BundleDescriptor referringBundle); 62 63 67 public BundleDescriptor getReferringBundleDescriptor(); 68 69 } 70 71 | Popular Tags |