FileDocCategorySizeDatePackage
PersistenceUnitInfoImpl.javaAPI DocJBoss 4.2.14901Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3.entity

PersistenceUnitInfoImpl

public class PersistenceUnitInfoImpl extends Object implements PersistenceUnitInfo
Comment
author
Bill Burke
version
$Revision: 63376 $

Fields Summary
private String
entityManagerName
private DataSource
jtaDataSource
private DataSource
nonJtaDataSource
private List
mappingFileNames
private List
jarFiles
private List
entityclassNames
private Properties
properties
private ClassLoader
classLoader
private String
persistenceProviderClassName
private PersistenceUnitTransactionType
transactionType
private URL
persistenceUnitRootUrl
private boolean
excludeClasses
Constructors Summary
public PersistenceUnitInfoImpl()

   
Methods Summary
public voidaddTransformer(javax.persistence.spi.ClassTransformer transformer)

      //throw new RuntimeException("NOT IMPLEMENTED");
   
public booleanexcludeUnlistedClasses()

      return excludeClasses;
   
public java.lang.ClassLoadergetClassLoader()

      return classLoader;
   
public java.util.ListgetJarFileUrls()

      return jarFiles;
   
public javax.sql.DataSourcegetJtaDataSource()

      return jtaDataSource;
   
public java.util.ListgetManagedClassNames()

      return entityclassNames;
   
public java.util.ListgetMappingFileNames()

      return mappingFileNames;
   
public java.lang.ClassLoadergetNewTempClassLoader()

       
      return new UnifiedClassLoader3(((UnifiedClassLoader)classLoader).getURL());
   
public javax.sql.DataSourcegetNonJtaDataSource()

      return nonJtaDataSource;
   
public java.lang.StringgetPersistenceProviderClassName()

      return persistenceProviderClassName;
   
public java.lang.StringgetPersistenceUnitName()

      return entityManagerName;
   
public java.net.URLgetPersistenceUnitRootUrl()

      return persistenceUnitRootUrl;
   
public java.util.PropertiesgetProperties()

      return properties;
   
public javax.persistence.spi.PersistenceUnitTransactionTypegetTransactionType()

      return transactionType;
   
public voidsetClassLoader(java.lang.ClassLoader classLoader)

      this.classLoader = classLoader;
   
public voidsetExcludeUnlistedClasses(boolean excludeClasses)

      this.excludeClasses = excludeClasses;
   
public voidsetJarFiles(java.util.List jarFiles)

      this.jarFiles = jarFiles;
   
public voidsetJtaDataSource(javax.sql.DataSource jtaDataSource)

      this.jtaDataSource = jtaDataSource;
   
public voidsetManagedClassnames(java.util.List entityclassNames)

      this.entityclassNames = entityclassNames;
   
public voidsetMappingFileNames(java.util.List mappingFileNames)

      this.mappingFileNames = mappingFileNames;
   
public voidsetNonJtaDataSource(javax.sql.DataSource nonJtaDataSource)

      this.nonJtaDataSource = nonJtaDataSource;
   
public voidsetPersistenceProviderClassName(java.lang.String persistenceProviderClassName)

      this.persistenceProviderClassName = persistenceProviderClassName;
   
public voidsetPersistenceUnitName(java.lang.String entityManagerName)

      this.entityManagerName = entityManagerName;
   
public voidsetPersistenceUnitRootUrl(java.net.URL persistenceUnitRootUrl)

      this.persistenceUnitRootUrl = persistenceUnitRootUrl;
   
public voidsetProperties(java.util.Properties properties)

      this.properties = properties;
   
public voidsetTransactionType(javax.persistence.spi.PersistenceUnitTransactionType transactionType)

      this.transactionType = transactionType;