public class PersistenceUnitInfoDescriptor extends Object implements PersistenceUnitDescriptor
Constructor and Description |
---|
PersistenceUnitInfoDescriptor(PersistenceUnitInfo persistenceUnitInfo) |
public PersistenceUnitInfoDescriptor(PersistenceUnitInfo persistenceUnitInfo)
public URL getPersistenceUnitRootUrl()
PersistenceUnitDescriptor
getPersistenceUnitRootUrl
in interface PersistenceUnitDescriptor
public String getName()
PersistenceUnitDescriptor
getName
in interface PersistenceUnitDescriptor
public Object getNonJtaDataSource()
getNonJtaDataSource
in interface PersistenceUnitDescriptor
public Object getJtaDataSource()
getJtaDataSource
in interface PersistenceUnitDescriptor
public String getProviderClassName()
PersistenceUnitDescriptor
null
if not specified.getProviderClassName
in interface PersistenceUnitDescriptor
public PersistenceUnitTransactionType getTransactionType()
getTransactionType
in interface PersistenceUnitDescriptor
public boolean isUseQuotedIdentifiers()
PersistenceUnitDescriptor
isUseQuotedIdentifiers
in interface PersistenceUnitDescriptor
true
is quoted identifiers should be used throughout the unit.public Properties getProperties()
getProperties
in interface PersistenceUnitDescriptor
public ClassLoader getClassLoader()
getClassLoader
in interface PersistenceUnitDescriptor
public ClassLoader getTempClassLoader()
getTempClassLoader
in interface PersistenceUnitDescriptor
public boolean isExcludeUnlistedClasses()
PersistenceUnitDescriptor
PersistenceUnitDescriptor.getManagedClassNames()
PersistenceUnitDescriptor.getMappingFileNames()
PersistenceUnitDescriptor.getJarFileUrls()
isExcludeUnlistedClasses
in interface PersistenceUnitDescriptor
true
if the root url should not be scanned for classes.public ValidationMode getValidationMode()
getValidationMode
in interface PersistenceUnitDescriptor
public SharedCacheMode getSharedCacheMode()
getSharedCacheMode
in interface PersistenceUnitDescriptor
public List<String> getManagedClassNames()
getManagedClassNames
in interface PersistenceUnitDescriptor
public List<String> getMappingFileNames()
getMappingFileNames
in interface PersistenceUnitDescriptor
public List<URL> getJarFileUrls()
getJarFileUrls
in interface PersistenceUnitDescriptor
public void pushClassTransformer(EnhancementContext enhancementContext)
pushClassTransformer
in interface PersistenceUnitDescriptor
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.