public class PersistenceUnitInfoAdapter extends Object implements PersistenceUnitInfo
Constructor and Description |
---|
PersistenceUnitInfoAdapter() |
PersistenceUnitInfoAdapter(Properties properties) |
Modifier and Type | Method and Description |
---|---|
void |
addTransformer(ClassTransformer transformer) |
boolean |
excludeUnlistedClasses() |
ClassLoader |
getClassLoader() |
List<URL> |
getJarFileUrls() |
DataSource |
getJtaDataSource() |
List<String> |
getManagedClassNames() |
List<String> |
getMappingFileNames() |
ClassLoader |
getNewTempClassLoader() |
DataSource |
getNonJtaDataSource() |
String |
getPersistenceProviderClassName() |
String |
getPersistenceUnitName() |
URL |
getPersistenceUnitRootUrl() |
String |
getPersistenceXMLSchemaVersion() |
Properties |
getProperties() |
SharedCacheMode |
getSharedCacheMode() |
PersistenceUnitTransactionType |
getTransactionType() |
ValidationMode |
getValidationMode() |
public PersistenceUnitInfoAdapter()
public PersistenceUnitInfoAdapter(Properties properties)
public String getPersistenceUnitName()
getPersistenceUnitName
in interface PersistenceUnitInfo
public String getPersistenceProviderClassName()
getPersistenceProviderClassName
in interface PersistenceUnitInfo
public PersistenceUnitTransactionType getTransactionType()
getTransactionType
in interface PersistenceUnitInfo
public DataSource getJtaDataSource()
getJtaDataSource
in interface PersistenceUnitInfo
public DataSource getNonJtaDataSource()
getNonJtaDataSource
in interface PersistenceUnitInfo
public List<String> getMappingFileNames()
getMappingFileNames
in interface PersistenceUnitInfo
public List<URL> getJarFileUrls()
getJarFileUrls
in interface PersistenceUnitInfo
public URL getPersistenceUnitRootUrl()
getPersistenceUnitRootUrl
in interface PersistenceUnitInfo
public List<String> getManagedClassNames()
getManagedClassNames
in interface PersistenceUnitInfo
public boolean excludeUnlistedClasses()
excludeUnlistedClasses
in interface PersistenceUnitInfo
public SharedCacheMode getSharedCacheMode()
getSharedCacheMode
in interface PersistenceUnitInfo
public ValidationMode getValidationMode()
getValidationMode
in interface PersistenceUnitInfo
public Properties getProperties()
getProperties
in interface PersistenceUnitInfo
public String getPersistenceXMLSchemaVersion()
getPersistenceXMLSchemaVersion
in interface PersistenceUnitInfo
public ClassLoader getClassLoader()
getClassLoader
in interface PersistenceUnitInfo
public void addTransformer(ClassTransformer transformer)
addTransformer
in interface PersistenceUnitInfo
public ClassLoader getNewTempClassLoader()
getNewTempClassLoader
in interface PersistenceUnitInfo
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.