Package com.ibm.ws.javaee.dd.common
Interface PersistenceContextRef
-
- All Superinterfaces:
Describable
,JNDIEnvironmentRef
,PersistenceRef
,ResourceBaseGroup
public interface PersistenceContextRef extends PersistenceRef
Represents <persistence-context-ref>.
-
-
Field Summary
Fields Modifier and Type Field Description static int
SYNCHRONIZATION_SYNCHRONIZED
Represents "Synchronized" forgetTypeValue()
.static int
SYNCHRONIZATION_UNSPECIFIED
Represents an unspecified value forgetSynchronizationValue()
.static int
SYNCHRONIZATION_UNSYNCHRONIZED
Represents "Unsynchronized" forgetTypeValue()
.static int
TYPE_EXTENDED
Represents "Extended" forgetTypeValue()
.static int
TYPE_TRANSACTION
Represents "Transaction" forgetTypeValue()
.static int
TYPE_UNSPECIFIED
Represents an unspecified value forgetTypeValue()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Property>
getProperties()
int
getSynchronizationValue()
int
getTypeValue()
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.Describable
getDescriptions
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRef
getName
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.PersistenceRef
getPersistenceUnitName
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.ResourceBaseGroup
getInjectionTargets, getMappedName
-
-
-
-
Field Detail
-
TYPE_UNSPECIFIED
static final int TYPE_UNSPECIFIED
Represents an unspecified value forgetTypeValue()
.- See Also:
- Constant Field Values
-
TYPE_TRANSACTION
static final int TYPE_TRANSACTION
Represents "Transaction" forgetTypeValue()
.- See Also:
org.eclipse.jst.j2ee.common.PersistenceContextType#TRANSACTION
, Constant Field Values
-
TYPE_EXTENDED
static final int TYPE_EXTENDED
Represents "Extended" forgetTypeValue()
.- See Also:
org.eclipse.jst.j2ee.common.PersistenceContextType#EXTENDED
, Constant Field Values
-
SYNCHRONIZATION_UNSPECIFIED
static final int SYNCHRONIZATION_UNSPECIFIED
Represents an unspecified value forgetSynchronizationValue()
.- See Also:
- Constant Field Values
-
SYNCHRONIZATION_SYNCHRONIZED
static final int SYNCHRONIZATION_SYNCHRONIZED
Represents "Synchronized" forgetTypeValue()
.- See Also:
- Constant Field Values
-
SYNCHRONIZATION_UNSYNCHRONIZED
static final int SYNCHRONIZATION_UNSYNCHRONIZED
Represents "Unsynchronized" forgetTypeValue()
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeValue
int getTypeValue()
- Returns:
- <persistence-context-type>
TYPE_UNSPECIFIED
if unspecifiedTYPE_TRANSACTION
- TransactionTYPE_EXTENDED
- Extended
-
getSynchronizationValue
int getSynchronizationValue()
- Returns:
- <persistence-context-synchronization>
SYNCHRONIZATION_UNSPECIFIED
if unspecifiedSYNCHRONIZATION_SYNCHRONIZED
- SynchronizedSYNCHRONIZATION_UNSYNCHRONIZED
- Unsynchronized
-
getProperties
java.util.List<Property> getProperties()
- Returns:
- <persistence-property> as a read-only list
-
-