public class PersistenceUnitInfoDescriptor extends java.lang.Object implements PersistenceUnitDescriptor
| Constructor and Description |
|---|
PersistenceUnitInfoDescriptor(javax.persistence.spi.PersistenceUnitInfo persistenceUnitInfo) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.ClassLoader |
getClassLoader() |
java.util.List<java.net.URL> |
getJarFileUrls() |
java.lang.Object |
getJtaDataSource() |
java.util.List<java.lang.String> |
getManagedClassNames() |
java.util.List<java.lang.String> |
getMappingFileNames() |
java.lang.String |
getName()
Get the persistence unit name,
|
java.lang.Object |
getNonJtaDataSource() |
java.net.URL |
getPersistenceUnitRootUrl()
Get the root url for the persistence unit.
|
java.util.Properties |
getProperties() |
java.lang.String |
getProviderClassName()
Get the explicitly specified provider class name, or
null if not specified. |
javax.persistence.SharedCacheMode |
getSharedCacheMode() |
java.lang.ClassLoader |
getTempClassLoader() |
javax.persistence.spi.PersistenceUnitTransactionType |
getTransactionType() |
javax.persistence.ValidationMode |
getValidationMode() |
boolean |
isExcludeUnlistedClasses()
Essentially should scanning for classes be performed? If not, the list of classes available is limited to:
classes listed in
PersistenceUnitDescriptor.getManagedClassNames()
classes named in all PersistenceUnitDescriptor.getMappingFileNames()
classes discovered in PersistenceUnitDescriptor.getJarFileUrls()
|
boolean |
isUseQuotedIdentifiers()
Is the use of quoted identifiers in effect for this whole persistence unit?
|
void |
pushClassTransformer(EnhancementContext enhancementContext) |
public PersistenceUnitInfoDescriptor(javax.persistence.spi.PersistenceUnitInfo persistenceUnitInfo)
public java.net.URL getPersistenceUnitRootUrl()
PersistenceUnitDescriptorgetPersistenceUnitRootUrl in interface PersistenceUnitDescriptorpublic java.lang.String getName()
PersistenceUnitDescriptorgetName in interface PersistenceUnitDescriptorpublic java.lang.Object getNonJtaDataSource()
getNonJtaDataSource in interface PersistenceUnitDescriptorpublic java.lang.Object getJtaDataSource()
getJtaDataSource in interface PersistenceUnitDescriptorpublic java.lang.String getProviderClassName()
PersistenceUnitDescriptornull if not specified.getProviderClassName in interface PersistenceUnitDescriptorpublic javax.persistence.spi.PersistenceUnitTransactionType getTransactionType()
getTransactionType in interface PersistenceUnitDescriptorpublic boolean isUseQuotedIdentifiers()
PersistenceUnitDescriptorisUseQuotedIdentifiers in interface PersistenceUnitDescriptortrue is quoted identifiers should be used throughout the unit.public java.util.Properties getProperties()
getProperties in interface PersistenceUnitDescriptorpublic java.lang.ClassLoader getClassLoader()
getClassLoader in interface PersistenceUnitDescriptorpublic java.lang.ClassLoader getTempClassLoader()
getTempClassLoader in interface PersistenceUnitDescriptorpublic boolean isExcludeUnlistedClasses()
PersistenceUnitDescriptorPersistenceUnitDescriptor.getManagedClassNames()PersistenceUnitDescriptor.getMappingFileNames()PersistenceUnitDescriptor.getJarFileUrls()isExcludeUnlistedClasses in interface PersistenceUnitDescriptortrue if the root url should not be scanned for classes.public javax.persistence.ValidationMode getValidationMode()
getValidationMode in interface PersistenceUnitDescriptorpublic javax.persistence.SharedCacheMode getSharedCacheMode()
getSharedCacheMode in interface PersistenceUnitDescriptorpublic java.util.List<java.lang.String> getManagedClassNames()
getManagedClassNames in interface PersistenceUnitDescriptorpublic java.util.List<java.lang.String> getMappingFileNames()
getMappingFileNames in interface PersistenceUnitDescriptorpublic java.util.List<java.net.URL> getJarFileUrls()
getJarFileUrls in interface PersistenceUnitDescriptorpublic void pushClassTransformer(EnhancementContext enhancementContext)
pushClassTransformer in interface PersistenceUnitDescriptorCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.