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 intSYNCHRONIZATION_SYNCHRONIZEDRepresents "Synchronized" forgetTypeValue().static intSYNCHRONIZATION_UNSPECIFIEDRepresents an unspecified value forgetSynchronizationValue().static intSYNCHRONIZATION_UNSYNCHRONIZEDRepresents "Unsynchronized" forgetTypeValue().static intTYPE_EXTENDEDRepresents "Extended" forgetTypeValue().static intTYPE_TRANSACTIONRepresents "Transaction" forgetTypeValue().static intTYPE_UNSPECIFIEDRepresents an unspecified value forgetTypeValue().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Property>getProperties()intgetSynchronizationValue()intgetTypeValue()-
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_UNSPECIFIEDif unspecifiedTYPE_TRANSACTION- TransactionTYPE_EXTENDED- Extended
-
getSynchronizationValue
int getSynchronizationValue()
- Returns:
- <persistence-context-synchronization>
SYNCHRONIZATION_UNSPECIFIEDif unspecifiedSYNCHRONIZATION_SYNCHRONIZED- SynchronizedSYNCHRONIZATION_UNSYNCHRONIZED- Unsynchronized
-
getProperties
java.util.List<Property> getProperties()
- Returns:
- <persistence-property> as a read-only list
-
-