<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">

<weblogic-ejb-jar>
 <description><![CDATA[Generated by XDoclet]]></description>
   <weblogic-enterprise-bean>
      <ejb-name>Customer</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <jndi-name>blah/bank/Customer</jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Subscriber</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>de.razeman.xdoclet.test.weblogic.ejb.relation.local.SubscriberLocalHome</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>LanguageCode</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>airline.LanguageCodeLocalHome</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Magazine</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>de.razeman.xdoclet.test.weblogic.ejb.relation.local.MagazineLocalHome</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Stateful</ejb-name>
      <stateful-session-descriptor>
      </stateful-session-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <jndi-name>Stateful</jndi-name>
      <local-jndi-name>StatefulLocal</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Account</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <jndi-name>ejb/bank/Account</jndi-name>
      <local-jndi-name>AccountLocal</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>City</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>airline.CityLocalHome</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Country</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>airline.CountryLocalHome</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>AllTypesEntity</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <jndi-name>test/AllTypesEntity</jndi-name>
      <local-jndi-name>test/LocalAllTypesEntity</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Teller</ejb-name>
      <stateless-session-descriptor>
         <pool>
            <max-beans-in-free-pool>3</max-beans-in-free-pool>
            <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
         </pool>
      </stateless-session-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <jndi-name>ejb/bank/Teller</jndi-name>
      <local-jndi-name>TellerLocal</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Address</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>AddressLocal</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>QueueBean</ejb-name>
      <message-driven-descriptor>
         <pool>
            <max-beans-in-free-pool>3</max-beans-in-free-pool>
            <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
         </pool>
         <destination-jndi-name>queue/testQueue</destination-jndi-name>
         <initial-context-factory>meenie</initial-context-factory>
         <provider-url>minie</provider-url>
         <connection-factory-jndi-name>moe</connection-factory-jndi-name>
         <jms-polling-interval-seconds>4</jms-polling-interval-seconds>
         <jms-client-id>a</jms-client-id>
      </message-driven-descriptor>
      <transaction-descriptor>
         <trans-timeout-seconds>10</trans-timeout-seconds>
      </transaction-descriptor>
      <reference-descriptor>
         <resource-description>
            <res-ref-name>ice</res-ref-name>
            <jndi-name>cream</jndi-name>
         </resource-description>
         <resource-env-description>
            <res-env-ref-name>blueberry</res-env-ref-name>
            <jndi-name>pie</jndi-name>
         </resource-env-description>
         <ejb-reference-description>
            <ejb-ref-name>hot</ejb-ref-name>
            <jndi-name>iron</jndi-name>
         </ejb-reference-description>
         <ejb-local-reference-description>
            <ejb-ref-name>mashed</ejb-ref-name>
            <jndi-name>potatoes</jndi-name>
         </ejb-local-reference-description>
      </reference-descriptor>
      <enable-call-by-reference>True</enable-call-by-reference>
        <run-as-identity-principal>True</run-as-identity-principal>

   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Employee</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>EmployeeLocal</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>CustomerBMP</ejb-name>
      <entity-descriptor>
         <persistence>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <jndi-name>ejb/bank/CustomerBMP</jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>Language</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>airline.LanguageLocalHome</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>File</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>blah/File</local-jndi-name>
   </weblogic-enterprise-bean>
   <weblogic-enterprise-bean>
      <ejb-name>EmployeeAddress</ejb-name>
      <entity-descriptor>
         <persistence>
            <persistence-type>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>6.0</type-version>
               <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
            </persistence-type>
            <persistence-use>
               <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
               <type-version>7.0</type-version>
            </persistence-use>
         </persistence>
      </entity-descriptor>
      <reference-descriptor>
      </reference-descriptor>

      <local-jndi-name>EmployeeAddressLocal</local-jndi-name>
   </weblogic-enterprise-bean>
<!-- 
To add enterprise beans that you have deployment descriptor info for, add 
a file to your XDoclet merge directory called weblogic-enterprise-beans.xml that contains 
the <weblogic-enterprise-bean></weblogic-enterprise-bean> markup for those beans. 
--> 

 <security-role-assignment>
    <role-name>Administrator</role-name>
    <principal-name>Fred</principal-name>
    <principal-name>system</principal-name>
</security-role-assignment>
<security-role-assignment>
    <role-name>IRS</role-name>
    <principal-name>Tanya</principal-name>
</security-role-assignment>
<security-role-assignment>
    <role-name>Customer</role-name>
    <principal-name>Tanya</principal-name>
    <principal-name>system</principal-name>
</security-role-assignment>
<security-role-assignment>
    <role-name>Teller</role-name>
    <principal-name>Tanya</principal-name>
</security-role-assignment>

 <!-- 
 To add a run-as-role-assignment section, add 
 a file to your XDoclet merge directory called weblogic-run-as-role-assignment.xml that contains 
 the <run-as-role-assignment></run-as-role-assignment> markup. 
 --> 

   <transaction-isolation>
      <isolation-level>TRANSACTION_SERIALIZABLE</isolation-level>
      <method>
         <description><![CDATA[Transaction isolation for Customer]]></description>
         <ejb-name>Customer</ejb-name>
         <method-name>*</method-name>
      </method>
   </transaction-isolation>
   <transaction-isolation>

      <isolation-level>TRANSACTION_SERIALIZABLE</isolation-level>

      <method>
         <description><![CDATA[Overriden from Person.]]></description>
         <ejb-name>Customer</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>talkTo</method-name>
         <method-params>
         </method-params>
      </method>
   </transaction-isolation>
   <transaction-isolation>
      <isolation-level>TRANSACTION_SERIALIZABLE</isolation-level>
      <method>
         <description><![CDATA[Transaction isolation for CustomerBMP]]></description>
         <ejb-name>CustomerBMP</ejb-name>
         <method-name>*</method-name>
      </method>
   </transaction-isolation>
   <transaction-isolation>

      <isolation-level>TRANSACTION_SERIALIZABLE</isolation-level>

      <method>
         <description><![CDATA[Overriden from Person.]]></description>
         <ejb-name>CustomerBMP</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>talkTo</method-name>
         <method-params>
         </method-params>
      </method>
   </transaction-isolation>

</weblogic-ejb-jar>
