1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar >
<description><![CDATA[No Description.]]></description>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<session >
<description><![CDATA[]]></description>
<ejb-name>Converter</ejb-name>
<home>fr.ustl.eservices.conversion.ConverterHome</home>
<remote>fr.ustl.eservices.conversion.Converter</remote>
<local-home>fr.ustl.eservices.conversion.ConverterLocalHome</local-home>
<local>fr.ustl.eservices.conversion.ConverterLocal</local>
<ejb-class>fr.ustl.eservices.conversion.ConverterBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<!--
To add session beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called session-beans.xml that contains
the <session></session> markup for those beans.
-->
<!-- Entity Beans -->
<entity >
<description><![CDATA[]]></description>
<ejb-name>Monnaie</ejb-name>
<home>fr.ustl.eservices.conversion.MonnaieHome</home>
<remote>fr.ustl.eservices.conversion.Monnaie</remote>
<local-home>fr.ustl.eservices.conversion.MonnaieLocalHome</local-home>
<local>fr.ustl.eservices.conversion.MonnaieLocal</local>
<ejb-class>fr.ustl.eservices.conversion.MonnaieBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>true</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Monnaie</abstract-schema-name>
<cmp-field >
<description><![CDATA[]]></description>
<field-name>id</field-name>
</cmp-field>
<primkey-field>id</primkey-field>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params>
</method-params>
</query-method>
<ejb-ql><![CDATA[SELECT m._nom FROM Monnaie m]]></ejb-ql>
</query>
<!-- Write a file named ejb-finders-MonnaieBean.xml if you want to define extra finders. -->
</entity>
<entity >
<description><![CDATA[]]></description>
<ejb-name>Taux</ejb-name>
<home>fr.ustl.eservices.conversion.TauxHome</home>
<remote>fr.ustl.eservices.conversion.Taux</remote>
<local-home>fr.ustl.eservices.conversion.TauxLocalHome</local-home>
<local>fr.ustl.eservices.conversion.TauxLocal</local>
<ejb-class>fr.ustl.eservices.conversion.TauxBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>fr.ustl.eservices.conversion.prikeys</prim-key-class>
<reentrant>true</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Taux</abstract-schema-name>
<cmp-field >
<description><![CDATA[]]></description>
<field-name>idMonnaieEntrante</field-name>
</cmp-field>
<cmp-field >
<description><![CDATA[]]></description>
<field-name>idMonnaieSortante</field-name>
</cmp-field>
<cmp-field >
<description><![CDATA[]]></description>
<field-name>taux</field-name>
</cmp-field>
<query>
<query-method>
<method-name>findTaux</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[select t._taux from taux as t where t._idMonnaieRecue=?1 and t._idMonnaieDonnee=?2]]></ejb-ql>
</query>
<!-- Write a file named ejb-finders-TauxBean.xml if you want to define extra finders. -->
</entity>
<!--
To add entity beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called entity-beans.xml that contains
the <entity></entity> markup for those beans.
-->
<!-- Message Driven Beans -->
<!--
To add message driven beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called message-driven-beans.xml that contains
the <message-driven></message-driven> markup for those beans.
-->
</enterprise-beans>
<!-- Relationships -->
<!-- Assembly Descriptor -->
<!--
To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called assembly-descriptor.xml that contains
the <assembly-descriptor></assembly-descriptor> markup.
-->
<assembly-descriptor >
<!--
To specify additional security-role elements, add a file in the merge
directory called ejb-security-roles.xml that contains them.
-->
<!-- method permissions -->
<!--
To specify additional method-permission elements, add a file in the merge
directory called ejb-method-permissions.ent that contains them.
-->
<!-- finder permissions -->
<!-- finder permissions -->
<!-- finder permissions -->
<!-- transactions -->
<!--
To specify additional container-transaction elements, add a file in the merge
directory called ejb-container-transaction.ent that contains them.
-->
<container-transaction >
<method >
<ejb-name>Monnaie</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction >
<method >
<ejb-name>Taux</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction >
<method >
<ejb-name>Converter</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<!-- finder transactions -->
<!--
To specify an exclude-list element, add a file in the merge directory
called ejb-exclude-list.xml that contains it.
-->
</assembly-descriptor>
</ejb-jar> |
Partager