Uses of Interface
org.apache.tapestry5.jpa.TapestryPersistenceUnitInfo
Packages that use TapestryPersistenceUnitInfo
Package
Description
[INTERNAL USE ONLY] support classes for the JPA module; API subject to change
Provides support for simple CRUD applications built on top of Tapestry and JPA
-
Uses of TapestryPersistenceUnitInfo in org.apache.tapestry5.internal.jpa
Classes in org.apache.tapestry5.internal.jpa that implement TapestryPersistenceUnitInfoMethods in org.apache.tapestry5.internal.jpa that return TapestryPersistenceUnitInfoModifier and TypeMethodDescriptionPersistenceUnitInfoImpl.addJarFileUrl(String url) Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine for managed classes of the persistence unit.PersistenceUnitInfoImpl.addJarFileUrl(URL url) Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine for managed classes of the persistence unit.PersistenceUnitInfoImpl.addManagedClass(Class<?> clazz) Add a managed class to be used by persistence provider.PersistenceUnitInfoImpl.addManagedClassName(String className) Add a managed class name to be used by persistence provider.PersistenceUnitInfoImpl.addMappingFileName(String fileName) Add a mapping file to be loaded by the persistence provider to determine the mappings for the entity classes.PersistenceUnitInfoImpl.addProperty(String name, String value) Add a property.PersistenceUnitInfoImpl.excludeUnlistedClasses(boolean exclude) Defines whether classes in the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes.PersistenceUnitInfoImpl.jtaDataSource(String jtaDataSource) Set the JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction.PersistenceUnitInfoImpl.nonJtaDataSource(String nonJtaDataSource) Set the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction.PersistenceUnitInfoImpl.persistenceProviderClassName(String persistenceProviderClassName) Set the the fully qualified name of the persistence provider implementation class.PersistenceUnitInfoImpl.setEntityManagerProperties(Map properties) PersistenceUnitInfoImpl.sharedCacheMode(javax.persistence.SharedCacheMode cacheMode) Defines how the persistence provider must use a second-level cache for the persistence unit.PersistenceUnitInfoImpl.transactionType(javax.persistence.spi.PersistenceUnitTransactionType transactionType) Set the transaction type of the entity managers.PersistenceUnitInfoImpl.validationMode(javax.persistence.ValidationMode validationMode) Set the validation mode to be used by the persistence provider for the persistence unit.Methods in org.apache.tapestry5.internal.jpa that return types with arguments of type TapestryPersistenceUnitInfoModifier and TypeMethodDescriptionPersistenceContentHandler.getPersistenceUnits()PersistenceParser.parse(InputStream stream) Methods in org.apache.tapestry5.internal.jpa with parameters of type TapestryPersistenceUnitInfoModifier and TypeMethodDescriptionvoidPackageNamePersistenceUnitConfigurer.configure(TapestryPersistenceUnitInfo unitInfo) Configures a persistence unit. -
Uses of TapestryPersistenceUnitInfo in org.apache.tapestry5.jpa
Methods in org.apache.tapestry5.jpa that return TapestryPersistenceUnitInfoModifier and TypeMethodDescriptionTapestryPersistenceUnitInfo.addJarFileUrl(String url) Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine for managed classes of the persistence unit.TapestryPersistenceUnitInfo.addJarFileUrl(URL url) Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine for managed classes of the persistence unit.TapestryPersistenceUnitInfo.addManagedClass(Class<?> clazz) Add a managed class to be used by persistence provider.TapestryPersistenceUnitInfo.addManagedClassName(String className) Add a managed class name to be used by persistence provider.TapestryPersistenceUnitInfo.addMappingFileName(String fileName) Add a mapping file to be loaded by the persistence provider to determine the mappings for the entity classes.TapestryPersistenceUnitInfo.addProperty(String name, String value) Add a property.TapestryPersistenceUnitInfo.excludeUnlistedClasses(boolean exclude) Defines whether classes in the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes.TapestryPersistenceUnitInfo.jtaDataSource(String jtaDataSource) Set the JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction.TapestryPersistenceUnitInfo.nonJtaDataSource(String nonJtaDataSource) Set the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction.TapestryPersistenceUnitInfo.persistenceProviderClassName(String persistenceProviderClassName) Set the the fully qualified name of the persistence provider implementation class.TapestryPersistenceUnitInfo.setEntityManagerProperties(Map properties) PersistenceProviderallows creating anEntityManagerFactorywith a default EntityManager properties map.TapestryPersistenceUnitInfo.sharedCacheMode(javax.persistence.SharedCacheMode cacheMode) Defines how the persistence provider must use a second-level cache for the persistence unit.TapestryPersistenceUnitInfo.transactionType(javax.persistence.spi.PersistenceUnitTransactionType transactionType) Set the transaction type of the entity managers.TapestryPersistenceUnitInfo.validationMode(javax.persistence.ValidationMode validationMode) Set the validation mode to be used by the persistence provider for the persistence unit.Methods in org.apache.tapestry5.jpa with parameters of type TapestryPersistenceUnitInfoModifier and TypeMethodDescriptionvoidPersistenceUnitConfigurer.configure(TapestryPersistenceUnitInfo unitInfo) Configures a persistence unit.