Class PersistenceContextRef

  • All Implemented Interfaces:
    Injectable, JndiReference, Keyable<String>, PersistenceRef

    public class PersistenceContextRef
    extends Object
    implements JndiReference, PersistenceRef
    javaee6.xsd

    Java class for persistence-context-refType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="persistence-context-refType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="persistence-context-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
             <element name="persistence-unit-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
             <element name="persistence-context-type" type="{http://java.sun.com/xml/ns/javaee}persistence-context-typeType" minOccurs="0"/>
             <element name="persistence-property" type="{http://java.sun.com/xml/ns/javaee}propertyType" maxOccurs="unbounded" minOccurs="0"/>
             <group ref="{http://java.sun.com/xml/ns/javaee}resourceBaseGroup"/>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>