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 SummaryFields 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 SummaryAll 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.DescribablegetDescriptions
 - 
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRefgetName
 - 
Methods inherited from interface com.ibm.ws.javaee.dd.common.PersistenceRefgetPersistenceUnitName
 - 
Methods inherited from interface com.ibm.ws.javaee.dd.common.ResourceBaseGroupgetInjectionTargets, getMappedName
 
- 
 
- 
- 
- 
Field Detail- 
TYPE_UNSPECIFIEDstatic final int TYPE_UNSPECIFIED Represents an unspecified value forgetTypeValue().- See Also:
- Constant Field Values
 
 - 
TYPE_TRANSACTIONstatic final int TYPE_TRANSACTION Represents "Transaction" forgetTypeValue().- See Also:
- org.eclipse.jst.j2ee.common.PersistenceContextType#TRANSACTION, Constant Field Values
 
 - 
TYPE_EXTENDEDstatic final int TYPE_EXTENDED Represents "Extended" forgetTypeValue().- See Also:
- org.eclipse.jst.j2ee.common.PersistenceContextType#EXTENDED, Constant Field Values
 
 - 
SYNCHRONIZATION_UNSPECIFIEDstatic final int SYNCHRONIZATION_UNSPECIFIED Represents an unspecified value forgetSynchronizationValue().- See Also:
- Constant Field Values
 
 - 
SYNCHRONIZATION_SYNCHRONIZEDstatic final int SYNCHRONIZATION_SYNCHRONIZED Represents "Synchronized" forgetTypeValue().- See Also:
- Constant Field Values
 
 - 
SYNCHRONIZATION_UNSYNCHRONIZEDstatic final int SYNCHRONIZATION_UNSYNCHRONIZED Represents "Unsynchronized" forgetTypeValue().- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getTypeValueint getTypeValue() - Returns:
- <persistence-context-type>
         - TYPE_UNSPECIFIEDif unspecified
- TYPE_TRANSACTION- Transaction
- TYPE_EXTENDED- Extended
 
 
 - 
getSynchronizationValueint getSynchronizationValue() - Returns:
- <persistence-context-synchronization>
         - SYNCHRONIZATION_UNSPECIFIEDif unspecified
- SYNCHRONIZATION_SYNCHRONIZED- Synchronized
- SYNCHRONIZATION_UNSYNCHRONIZED- Unsynchronized
 
 
 - 
getPropertiesjava.util.List<Property> getProperties() - Returns:
- <persistence-property> as a read-only list
 
 
- 
 
-