User: vharcq Date: 02/03/14 10:32:26 Added: core/test/xml-ref/Transaction ejb-jar.xml Log: This is really a nightmare. We have to handle method with a view-type of "both" and different method-intf for each interfaces. Who the fuck will do that ??? Revision Changes Path 1.1 xdoclet/core/test/xml-ref/Transaction/ejb-jar.xml Index: ejb-jar.xml =================================================================== <?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 id="ejb-jar_1"> <description>No Description.</description> <display-name>Generated by XDoclet</display-name> <enterprise-beans> <entity id="ContainerManagedEntity_1"> <description><![CDATA[No Description.]]></description> <ejb-name>ejbtrans/Transaction</ejb-name> <home>xdoclet.retest.bean.ejb.interfaces.TransactionHome</home> <remote>xdoclet.retest.bean.ejb.interfaces.Transaction</remote> <local-home>xdoclet.retest.bean.ejb.interfaces.TransactionLocalHome</local-home> <local>xdoclet.retest.bean.ejb.interfaces.TransactionLocal</local> <ejb-class>xdoclet.retest.bean.ejb.ejb.TransactionCMP</ejb-class> <persistence-type>Container</persistence-type> <prim-key-class>xdoclet.retest.bean.ejb.interfaces.TransactionPK</prim-key-class> <reentrant>False</reentrant> <cmp-version>2.x</cmp-version> <abstract-schema-name>ejbtrans/Transaction</abstract-schema-name> <cmp-field id="CMPAttribute_1"> <description><![CDATA[]]></description> <field-name>id</field-name> </cmp-field> <cmp-field id="CMPAttribute_2"> <description><![CDATA[]]></description> <field-name>name</field-name> </cmp-field> </entity> </enterprise-beans> <assembly-descriptor id="AssemblyDescriptor_1"> <container-transaction id="MethodTransaction_1"> <method id="MethodElement_1"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>*</method-name> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_2"> <method id="MethodElement_2"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>createNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_3"> <method id="MethodElement_3"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>createNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_4"> <method id="MethodElement_4"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createBothMethodSupports</method-name> <method-params> <method-param>java.lang.Object[][]</method-param> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_5"> <method id="MethodElement_5"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createBothMethodSupports</method-name> <method-params> <method-param>java.lang.Object[][]</method-param> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_6"> <method id="MethodElement_6"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createLocalMethodSupports</method-name> <method-params> <method-param>java.lang.Object[][]</method-param> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_8"> <method id="MethodElement_8"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_9"> <method id="MethodElement_9"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_10"> <method id="MethodElement_10"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_11"> <method id="MethodElement_11"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_12"> <method id="MethodElement_12"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_13"> <method id="MethodElement_13"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_14"> <method id="MethodElement_14"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodRequired</method-name> <method-params> <method-param>java.lang.String</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_15"> <method id="MethodElement_15"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodRequired</method-name> <method-params> <method-param>java.lang.String</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_16"> <method id="MethodElement_16"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_17"> <method id="MethodElement_17"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_18"> <method id="MethodElement_18"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_19"> <method id="MethodElement_19"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_20"> <method id="MethodElement_20"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>createMethodSupports</method-name> <method-params> <method-param>java.lang.Object[][]</method-param> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_21"> <method id="MethodElement_21"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>createMethodSupports</method-name> <method-params> <method-param>java.lang.Object[][]</method-param> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_22"> <method id="MethodElement_22"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>bothMethodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_23"> <method id="MethodElement_23"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>bothMethodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_24"> <method id="MethodElement_24"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>localMethodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_26"> <method id="MethodElement_26"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_27"> <method id="MethodElement_27"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_28"> <method id="MethodElement_28"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_29"> <method id="MethodElement_29"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_30"> <method id="MethodElement_30"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_31"> <method id="MethodElement_31"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_32"> <method id="MethodElement_32"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_33"> <method id="MethodElement_33"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_34"> <method id="MethodElement_34"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodRequired</method-name> <method-params> <method-param>java.lang.String</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_35"> <method id="MethodElement_35"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodRequired</method-name> <method-params> <method-param>java.lang.String</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_36"> <method id="MethodElement_36"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_37"> <method id="MethodElement_37"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_38"> <method id="MethodElement_38"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>methodSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_39"> <method id="MethodElement_39"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>methodSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_40"> <method id="MethodElement_40"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodBothNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_41"> <method id="MethodElement_41"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodBothNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_42"> <method id="MethodElement_42"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodLocalNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_43"> <method id="MethodElement_43"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_44"> <method id="MethodElement_44"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_45"> <method id="MethodElement_45"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_46"> <method id="MethodElement_46"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_47"> <method id="MethodElement_47"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_48"> <method id="MethodElement_48"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> <method-param>byte[]</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_49"> <method id="MethodElement_49"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodNotSupported</method-name> <method-params> <method-param>java.lang.String</method-param> <method-param>int</method-param> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_50"> <method id="MethodElement_50"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodRequired</method-name> <method-params> <method-param>java.lang.String</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_51"> <method id="MethodElement_51"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodRequired</method-name> <method-params> <method-param>java.lang.String</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_52"> <method id="MethodElement_52"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_53"> <method id="MethodElement_53"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_54"> <method id="MethodElement_54"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Local</method-intf> <method-name>methodSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_55"> <method id="MethodElement_55"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Remote</method-intf> <method-name>methodSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <!-- finder transactions --> <container-transaction id="MethodTransaction_56"> <method id="MethodElement_56"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByNotSupported</method-name> <method-params> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_57"> <method id="MethodElement_57"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findBySupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_58"> <method id="MethodElement_58"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByRequired</method-name> <method-params> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_59"> <method id="MethodElement_59"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByRequiresNew</method-name> <method-params> </method-params> </method> <trans-attribute>RequiresNew</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_60"> <method id="MethodElement_60"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByMandatory</method-name> <method-params> </method-params> </method> <trans-attribute>Mandatory</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_61"> <method id="MethodElement_61"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByNever</method-name> <method-params> </method-params> </method> <trans-attribute>Never</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_62"> <method id="MethodElement_62"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>findByLocalNotSupported</method-name> <method-params> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_63"> <method id="MethodElement_63"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>findByHomeSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_65"> <method id="MethodElement_65"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>findByLocalLocalNotSupported</method-name> <method-params> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_67"> <method id="MethodElement_67"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>findByHomeRemoteBySupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_68"> <method id="MethodElement_68"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByBothNotSupported</method-name> <method-params> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_69"> <method id="MethodElement_69"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-name>findByBothSupports</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_70"> <method id="MethodElement_70"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>LocalHome</method-intf> <method-name>findByBoth</method-name> <method-params> </method-params> </method> <trans-attribute>NotSupported</trans-attribute> </container-transaction> <container-transaction id="MethodTransaction_71"> <method id="MethodElement_71"> <ejb-name>ejbtrans/Transaction</ejb-name> <method-intf>Home</method-intf> <method-name>findByBoth</method-name> <method-params> </method-params> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> </assembly-descriptor> </ejb-jar>
_______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
