Package org.hibernate.testing.orm.jpa
Class PersistenceUnitDescriptorAdapter
- java.lang.Object
-
- org.hibernate.testing.orm.jpa.PersistenceUnitDescriptorAdapter
-
- All Implemented Interfaces:
org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
public class PersistenceUnitDescriptorAdapter extends Object implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
-
Constructor Summary
Constructors Constructor Description PersistenceUnitDescriptorAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoader
getClassLoader()
List<URL>
getJarFileUrls()
DataSource
getJtaDataSource()
List<String>
getManagedClassNames()
List<String>
getMappingFileNames()
String
getName()
DataSource
getNonJtaDataSource()
URL
getPersistenceUnitRootUrl()
Properties
getProperties()
String
getProviderClassName()
SharedCacheMode
getSharedCacheMode()
ClassLoader
getTempClassLoader()
PersistenceUnitTransactionType
getTransactionType()
ValidationMode
getValidationMode()
boolean
isExcludeUnlistedClasses()
boolean
isUseQuotedIdentifiers()
void
pushClassTransformer(org.hibernate.bytecode.enhance.spi.EnhancementContext enhancementContext)
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
isUseQuotedIdentifiers
public boolean isUseQuotedIdentifiers()
- Specified by:
isUseQuotedIdentifiers
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getProviderClassName
public String getProviderClassName()
- Specified by:
getProviderClassName
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getTransactionType
public PersistenceUnitTransactionType getTransactionType()
- Specified by:
getTransactionType
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getJtaDataSource
public DataSource getJtaDataSource()
- Specified by:
getJtaDataSource
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getNonJtaDataSource
public DataSource getNonJtaDataSource()
- Specified by:
getNonJtaDataSource
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getMappingFileNames
public List<String> getMappingFileNames()
- Specified by:
getMappingFileNames
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getJarFileUrls
public List<URL> getJarFileUrls()
- Specified by:
getJarFileUrls
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getPersistenceUnitRootUrl
public URL getPersistenceUnitRootUrl()
- Specified by:
getPersistenceUnitRootUrl
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getManagedClassNames
public List<String> getManagedClassNames()
- Specified by:
getManagedClassNames
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
isExcludeUnlistedClasses
public boolean isExcludeUnlistedClasses()
- Specified by:
isExcludeUnlistedClasses
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getSharedCacheMode
public SharedCacheMode getSharedCacheMode()
- Specified by:
getSharedCacheMode
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getValidationMode
public ValidationMode getValidationMode()
- Specified by:
getValidationMode
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
getTempClassLoader
public ClassLoader getTempClassLoader()
- Specified by:
getTempClassLoader
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
pushClassTransformer
public void pushClassTransformer(org.hibernate.bytecode.enhance.spi.EnhancementContext enhancementContext)
- Specified by:
pushClassTransformer
in interfaceorg.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
-
-