|
||||||||||
| 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 java.lang.String |
EXCLUDE_UNLISTED_CLASSES
A Boolean indicating whether unlisted classes should be excluded |
static java.lang.String |
JAR_FILES
A List of String jar file names |
static java.lang.String |
JPA_PROVIDER_VERSION
This property is used in the JPA properties to indicate a provider version range |
static java.lang.String |
JTA_DATASOURCE
The jta-datasource name |
static java.lang.String |
MANAGED_CLASSES
A List of String managed class names |
static java.lang.String |
MAPPING_FILES
A List of String mapping file names |
static java.lang.String |
NON_JTA_DATASOURCE
The non-jta-datasource name |
static java.lang.String |
PROPERTIES
A Properties object containing the properties from the persistence unit |
static java.lang.String |
PROVIDER_CLASSNAME
The provider class name |
static java.lang.String |
SCHEMA_VERSION
The version of the JPA schema being used |
static java.lang.String |
SHARED_CACHE_MODE
The caching type of the persistence unit. |
static java.lang.String |
TRANSACTION_TYPE
The Transaction type of the persistence unit |
static java.lang.String |
UNIT_NAME
The name of the persistence unit |
static java.lang.String |
VALIDATION_MODE
The validation mode of the persistence unit. |
| Method Summary | |
|---|---|
org.osgi.framework.Bundle |
getDefiningBundle()
Return the persistence bundle that defines this persistence unit |
java.util.Map<java.lang.String,java.lang.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 java.lang.String SCHEMA_VERSION
static final java.lang.String UNIT_NAME
static final java.lang.String TRANSACTION_TYPE
static final java.lang.String MAPPING_FILES
List of String mapping file names
static final java.lang.String JAR_FILES
List of String jar file names
static final java.lang.String MANAGED_CLASSES
List of String managed class names
static final java.lang.String PROPERTIES
Properties object containing the properties from the persistence unit
static final java.lang.String PROVIDER_CLASSNAME
static final java.lang.String JTA_DATASOURCE
static final java.lang.String NON_JTA_DATASOURCE
static final java.lang.String EXCLUDE_UNLISTED_CLASSES
Boolean indicating whether unlisted classes should be excluded
static final java.lang.String SHARED_CACHE_MODE
static final java.lang.String VALIDATION_MODE
static final java.lang.String JPA_PROVIDER_VERSION
| Method Detail |
|---|
org.osgi.framework.Bundle getDefiningBundle()
java.util.Map<java.lang.String,java.lang.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 | |||||||||