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 intRepresents "Synchronized" forgetTypeValue().static final intRepresents an unspecified value forgetSynchronizationValue().static final intRepresents "Unsynchronized" forgetTypeValue().static final intRepresents "Extended" forgetTypeValue().static final intRepresents "Transaction" forgetTypeValue().static final intRepresents an unspecified value forgetTypeValue(). -
Method Summary
Modifier and TypeMethodDescriptionintintMethods inherited from interface com.ibm.ws.javaee.dd.common.Describable
getDescriptionsMethods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRef
getNameMethods inherited from interface com.ibm.ws.javaee.dd.common.PersistenceRef
getPersistenceUnitNameMethods 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_UNSPECIFIEDif unspecifiedTYPE_TRANSACTION- TransactionTYPE_EXTENDED- Extended
-
getSynchronizationValue
int getSynchronizationValue()- Returns:
- <persistence-context-synchronization>
SYNCHRONIZATION_UNSPECIFIEDif unspecifiedSYNCHRONIZATION_SYNCHRONIZED- SynchronizedSYNCHRONIZATION_UNSYNCHRONIZED- Unsynchronized
-
getProperties
- Returns:
- <persistence-property> as a read-only list
-