|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
public class MutablePersistenceUnitInfo
Spring's base implementation of the JPA
PersistenceUnitInfo
interface,
used to bootstrap an EntityManagerFactory in a container.
This implementation is largely a JavaBean, offering mutators for all standard PersistenceUnitInfo properties.
Constructor Summary | |
---|---|
MutablePersistenceUnitInfo()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MutablePersistenceUnitInfo()
Method Detail |
---|
public void setPersistenceUnitName(String persistenceUnitName)
public String getPersistenceUnitName()
getPersistenceUnitName
in interface PersistenceUnitInfo
public void setPersistenceProviderClassName(String persistenceProviderClassName)
public String getPersistenceProviderClassName()
getPersistenceProviderClassName
in interface PersistenceUnitInfo
public void setTransactionType(PersistenceUnitTransactionType transactionType)
public PersistenceUnitTransactionType getTransactionType()
getTransactionType
in interface PersistenceUnitInfo
public void setJtaDataSource(DataSource jtaDataSource)
public DataSource getJtaDataSource()
getJtaDataSource
in interface PersistenceUnitInfo
public void setNonJtaDataSource(DataSource nonJtaDataSource)
public DataSource getNonJtaDataSource()
getNonJtaDataSource
in interface PersistenceUnitInfo
public void addMappingFileName(String mappingFileName)
public List<String> getMappingFileNames()
getMappingFileNames
in interface PersistenceUnitInfo
public void addJarFileUrl(URL jarFileUrl)
public List<URL> getJarFileUrls()
getJarFileUrls
in interface PersistenceUnitInfo
public void setPersistenceUnitRootUrl(URL persistenceUnitRootUrl)
public URL getPersistenceUnitRootUrl()
getPersistenceUnitRootUrl
in interface PersistenceUnitInfo
public void addManagedClassName(String managedClassName)
public List<String> getManagedClassNames()
getManagedClassNames
in interface PersistenceUnitInfo
public void setExcludeUnlistedClasses(boolean excludeUnlistedClasses)
public boolean excludeUnlistedClasses()
excludeUnlistedClasses
in interface PersistenceUnitInfo
public void addProperty(String name, String value)
public void setProperties(Properties properties)
public Properties getProperties()
getProperties
in interface PersistenceUnitInfo
public void setPersistenceXMLSchemaVersion(String persistenceXMLSchemaVersion)
public String getPersistenceXMLSchemaVersion()
public void setPersistenceProviderPackageName(String persistenceProviderPackageName)
SmartPersistenceUnitInfo
setPersistenceProviderPackageName
in interface SmartPersistenceUnitInfo
PersistenceUnitInfo.addTransformer(javax.persistence.spi.ClassTransformer)
,
PersistenceUnitInfo.getNewTempClassLoader()
public String getPersistenceProviderPackageName()
public ClassLoader getClassLoader()
getClassLoader
in interface PersistenceUnitInfo
ClassUtils.getDefaultClassLoader()
public void addTransformer(ClassTransformer classTransformer)
addTransformer
in interface PersistenceUnitInfo
public ClassLoader getNewTempClassLoader()
getNewTempClassLoader
in interface PersistenceUnitInfo
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |