Package com.ibm.ws.javaee.dd.common
Interface PersistenceContextRef
- All Superinterfaces:
Describable
,JNDIEnvironmentRef
,PersistenceRef
,ResourceBaseGroup
Represents <persistence-context-ref>.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Represents "Synchronized" forgetTypeValue()
.static final int
Represents an unspecified value forgetSynchronizationValue()
.static final int
Represents "Unsynchronized" forgetTypeValue()
.static final int
Represents "Extended" forgetTypeValue()
.static final int
Represents "Transaction" forgetTypeValue()
.static final int
Represents an unspecified value forgetTypeValue()
. -
Method Summary
Modifier and TypeMethodDescriptionint
int
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 Details
-
TYPE_UNSPECIFIED
static final int TYPE_UNSPECIFIEDRepresents an unspecified value forgetTypeValue()
.- See Also:
-
TYPE_TRANSACTION
static final int TYPE_TRANSACTIONRepresents "Transaction" forgetTypeValue()
.- See Also:
-
org.eclipse.jst.j2ee.common.PersistenceContextType#TRANSACTION
- Constant Field Values
-
TYPE_EXTENDED
static final int TYPE_EXTENDEDRepresents "Extended" forgetTypeValue()
.- See Also:
-
org.eclipse.jst.j2ee.common.PersistenceContextType#EXTENDED
- Constant Field Values
-
SYNCHRONIZATION_UNSPECIFIED
static final int SYNCHRONIZATION_UNSPECIFIEDRepresents an unspecified value forgetSynchronizationValue()
.- See Also:
-
SYNCHRONIZATION_SYNCHRONIZED
static final int SYNCHRONIZATION_SYNCHRONIZEDRepresents "Synchronized" forgetTypeValue()
.- See Also:
-
SYNCHRONIZATION_UNSYNCHRONIZED
static final int SYNCHRONIZATION_UNSYNCHRONIZEDRepresents "Unsynchronized" forgetTypeValue()
.- See Also:
-
-
Method Details
-
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
- Returns:
- <persistence-property> as a read-only list
-