|
EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistenceUnitInfo
Interface implemented by the container and used by the persistence provider when creating an EntityManagerFactory.
| Method Summary | |
|---|---|
void |
addTransformer(ClassTransformer transformer)
Add a transformer supplied by the provider that will be called for every new class definition or class redefinition that gets loaded by the loader returned by the PersistenceUnitInfo.getClassLoader method. |
boolean |
excludeUnlistedClasses()
|
CachingType |
getCaching()
|
java.lang.ClassLoader |
getClassLoader()
|
java.util.List<java.net.URL> |
getJarFileUrls()
Returns a list of URLs for the jar files or exploded jar file directories that the persistence provider must examine for managed classes of the persistence unit. |
javax.sql.DataSource |
getJtaDataSource()
|
java.util.List<java.lang.String> |
getManagedClassNames()
|
java.util.List<java.lang.String> |
getMappingFileNames()
|
java.lang.ClassLoader |
getNewTempClassLoader()
Return a new instance of a ClassLoader that the provider may use to temporarily load any classes, resources, or open URLs. |
javax.sql.DataSource |
getNonJtaDataSource()
|
java.lang.String |
getPersistenceProviderClassName()
|
java.lang.String |
getPersistenceUnitName()
|
java.net.URL |
getPersistenceUnitRootUrl()
Returns the URL for the jar file or directory that is the root of the persistence unit. |
java.util.Properties |
getProperties()
|
PersistenceUnitTransactionType |
getTransactionType()
|
ValidationMode |
getValidationMode()
|
java.lang.String |
PersistenceXMLSchemaVersion()
|
| Method Detail |
|---|
java.lang.String getPersistenceUnitName()
java.lang.String getPersistenceProviderClassName()
PersistenceUnitTransactionType getTransactionType()
javax.sql.DataSource getJtaDataSource()
javax.sql.DataSource getNonJtaDataSource()
java.util.List<java.lang.String> getMappingFileNames()
java.util.List<java.net.URL> getJarFileUrls()
java.net.URL getPersistenceUnitRootUrl()
java.util.List<java.lang.String> getManagedClassNames()
boolean excludeUnlistedClasses()
CachingType getCaching()
ValidationMode getValidationMode()
java.util.Properties getProperties()
java.lang.String PersistenceXMLSchemaVersion()
java.lang.ClassLoader getClassLoader()
void addTransformer(ClassTransformer transformer)
transformer - A provider-supplied transformer that the Container invokes at
class-(re)definition timejava.lang.ClassLoader getNewTempClassLoader()
|
EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||