1 23 24 25 package javax.persistence.spi; 26 27 import javax.sql.DataSource ; 28 import java.net.URL ; 29 import java.util.List ; 30 import java.util.Properties ; 31 32 38 public interface PersistenceUnitInfo { 39 45 public String getPersistenceUnitName(); 46 47 55 public String getPersistenceProviderClassName(); 56 57 65 public PersistenceUnitTransactionType getTransactionType(); 66 67 77 public DataSource getJtaDataSource(); 78 79 91 public DataSource getNonJtaDataSource(); 92 93 109 public List <String > getMappingFileNames(); 110 111 124 public List <URL > getJarFileUrls(); 125 126 138 public URL getPersistenceUnitRootUrl(); 139 140 150 public List <String > getManagedClassNames(); 151 152 162 public boolean excludeUnlistedClasses(); 163 164 170 public Properties getProperties(); 171 172 178 public ClassLoader getClassLoader(); 179 180 192 public void addTransformer(ClassTransformer transformer); 193 194 208 public ClassLoader getNewTempClassLoader(); 209 } 210 | Popular Tags |