|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParsedPersistenceUnit
This interface provides access to the information defined by a
persistence unit in a persistence descriptor.
Implementations of this interface will be returned by calls to
PersistenceDescriptorParser
.
Field Summary | |
---|---|
static String |
EXCLUDE_UNLISTED_CLASSES
A Boolean indicating whether unlisted classes should be excluded |
static String |
JAR_FILES
A List of String jar file names |
static String |
JPA_PROVIDER_VERSION
This property is used in the JPA properties to indicate a provider version range |
static String |
JTA_DATASOURCE
The jta-datasource name |
static String |
MANAGED_CLASSES
A List of String managed class names |
static String |
MAPPING_FILES
A List of String mapping file names |
static String |
NON_JTA_DATASOURCE
The non-jta-datasource name |
static String |
PROPERTIES
A Properties object containing the properties from the persistence unit |
static String |
PROVIDER_CLASSNAME
The provider class name |
static String |
SCHEMA_VERSION
The version of the JPA schema being used |
static String |
SHARED_CACHE_MODE
The caching type of the persistence unit. |
static String |
TRANSACTION_TYPE
The Transaction type of the persistence unit |
static String |
UNIT_NAME
The name of the persistence unit |
static String |
VALIDATION_MODE
The validation mode of the persistence unit. |
Method Summary | |
---|---|
Bundle |
getDefiningBundle()
Return the persistence bundle that defines this persistence unit |
Map<String,Object> |
getPersistenceXmlMetadata()
Returns a deep copy of the persistence metadata, modifications to the returned Map will not be reflected in future calls. |
Field Detail |
---|
static final String SCHEMA_VERSION
static final String UNIT_NAME
static final String TRANSACTION_TYPE
static final String MAPPING_FILES
List
of String
mapping file names
static final String JAR_FILES
List
of String
jar file names
static final String MANAGED_CLASSES
List
of String
managed class names
static final String PROPERTIES
Properties
object containing the properties from the persistence unit
static final String PROVIDER_CLASSNAME
static final String JTA_DATASOURCE
static final String NON_JTA_DATASOURCE
static final String EXCLUDE_UNLISTED_CLASSES
Boolean
indicating whether unlisted classes should be excluded
static final String SHARED_CACHE_MODE
static final String VALIDATION_MODE
static final String JPA_PROVIDER_VERSION
Method Detail |
---|
Bundle getDefiningBundle()
Map<String,Object> getPersistenceXmlMetadata()
Map
will not be reflected in future calls.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |