[jboss-cvs] JBossAS SVN: r66712 - in projects/metadata/trunk/src: main/java/org/jboss/metadata/javaee/support and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Nov 3 21:25:24 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-11-03 21:25:24 -0400 (Sat, 03 Nov 2007)
New Revision: 66712
Added:
projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/EjbJar20_testOneMany.xml
Modified:
projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/spec/RelationsMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/javaee/support/MappedMetaDataWithDescriptions.java
projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/EjbJar20UnitTestCase.java
Log:
Even though ejb-relation/ejb-relation-name is unique, its not required and so cannot be modeled as a map
Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/spec/RelationsMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/spec/RelationsMetaData.java 2007-11-03 23:23:31 UTC (rev 66711)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/spec/RelationsMetaData.java 2007-11-04 01:25:24 UTC (rev 66712)
@@ -21,26 +21,77 @@
*/
package org.jboss.metadata.ejb.spec;
-import org.jboss.metadata.javaee.support.MappedMetaDataWithDescriptions;
+import java.util.ArrayList;
+
+import org.jboss.annotation.javaee.Descriptions;
+import org.jboss.metadata.javaee.spec.DescriptionsImpl;
+import org.jboss.metadata.javaee.support.IdMetaData;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* RelationsMetaData.
*
* @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @author Scott.Stark at jboss.org
* @version $Revision: 1.1 $
*/
@XmlType(name="relationshipsType")
-public class RelationsMetaData extends MappedMetaDataWithDescriptions<RelationMetaData>
+public class RelationsMetaData extends ArrayList<RelationMetaData>
+ implements IdMetaData
{
/** The serialVersionUID */
private static final long serialVersionUID = -3080564843998267217L;
+ /** The descriptions */
+ private Descriptions descriptions;
+ /** The id */
+ String id;
+
/**
* Create a new RelationsMetaData.
*/
public RelationsMetaData()
{
- super("relation name");
}
+
+ public String getId()
+ {
+ return id;
+ }
+
+ @XmlAttribute
+ public void setId(String id)
+ {
+ if (id == null)
+ throw new IllegalArgumentException("Null id");
+ this.id = id;
+ }
+
+ /**
+ * Get the descriptions.
+ *
+ * @return the descriptions.
+ */
+ public Descriptions getDescriptions()
+ {
+ return descriptions;
+ }
+
+ /**
+ * Set the descriptions.
+ *
+ * @param descriptions the descriptions.
+ * @throws IllegalArgumentException for a null descriptions
+ */
+ @XmlElement(name="description", type=DescriptionsImpl.class)
+ public void setDescriptions(Descriptions descriptions)
+ {
+ if (descriptions == null)
+ throw new IllegalArgumentException("Null descriptions");
+ this.descriptions = descriptions;
+ }
+
}
Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/javaee/support/MappedMetaDataWithDescriptions.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/javaee/support/MappedMetaDataWithDescriptions.java 2007-11-03 23:23:31 UTC (rev 66711)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/javaee/support/MappedMetaDataWithDescriptions.java 2007-11-04 01:25:24 UTC (rev 66712)
@@ -84,7 +84,7 @@
throw new IllegalArgumentException("Null object");
String key = o.getKey();
if (key == null)
- throw new IllegalArgumentException("No " + keyName);
+ throw new IllegalArgumentException(o.getClass()+", No " + keyName);
return map.put(key, o) == null;
}
Modified: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/EjbJar20UnitTestCase.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/EjbJar20UnitTestCase.java 2007-11-03 23:23:31 UTC (rev 66711)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/EjbJar20UnitTestCase.java 2007-11-04 01:25:24 UTC (rev 66712)
@@ -203,4 +203,11 @@
assertNotNull(conf2.getClusterConfig());
assertEquals("DefaultPartition", conf2.getClusterConfig().getPartitionName());
}
+
+ public void testOneMany()
+ throws Exception
+ {
+ EjbJar2xMetaData specMetaData = unmarshal();
+
+ }
}
Added: projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/EjbJar20_testOneMany.xml
===================================================================
--- projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/EjbJar20_testOneMany.xml (rev 0)
+++ projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/EjbJar20_testOneMany.xml 2007-11-04 01:25:24 UTC (rev 66712)
@@ -0,0 +1,726 @@
+<?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>
+ <display-name>Ejb1</display-name>
+ <enterprise-beans>
+ <entity>
+ <display-name>BeanEJB</display-name>
+ <ejb-name>BeanEJB</ejb-name>
+ <home>com.sun.ts.tests.compat13.ejb.oneXmany.BeanHome</home>
+ <remote>com.sun.ts.tests.compat13.ejb.oneXmany.Bean</remote>
+ <ejb-class>com.sun.ts.tests.compat13.ejb.oneXmany.BeanEJB</ejb-class>
+ <persistence-type>Container</persistence-type>
+ <prim-key-class>java.lang.String</prim-key-class>
+ <reentrant>False</reentrant>
+ <cmp-version>2.x</cmp-version>
+ <abstract-schema-name>Compat13Bean</abstract-schema-name>
+ <cmp-field>
+ <field-name>name</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>value</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>id</field-name>
+ </cmp-field>
+ <primkey-field>id</primkey-field>
+ <ejb-local-ref>
+ <ejb-ref-name>ejb/BEJBLocal</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <local-home>com.sun.ts.tests.compat13.ejb.oneXmany.BLocalHome</local-home>
+ <local>com.sun.ts.tests.compat13.ejb.oneXmany.BLocal</local>
+ <ejb-link>BEJB</ejb-link>
+ </ejb-local-ref>
+ <ejb-local-ref>
+ <ejb-ref-name>ejb/AEJBLocal</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <local-home>com.sun.ts.tests.compat13.ejb.oneXmany.ALocalHome</local-home>
+ <local>com.sun.ts.tests.compat13.ejb.oneXmany.ALocal</local>
+ <ejb-link>AEJB</ejb-link>
+ </ejb-local-ref>
+ <security-identity>
+ <description></description>
+ <use-caller-identity></use-caller-identity>
+ </security-identity>
+ </entity>
+ <entity>
+ <display-name>BEJB</display-name>
+ <ejb-name>BEJB</ejb-name>
+ <local-home>com.sun.ts.tests.compat13.ejb.oneXmany.BLocalHome</local-home>
+ <local>com.sun.ts.tests.compat13.ejb.oneXmany.BLocal</local>
+ <ejb-class>com.sun.ts.tests.compat13.ejb.oneXmany.BEJB</ejb-class>
+ <persistence-type>Container</persistence-type>
+ <prim-key-class>java.lang.String</prim-key-class>
+ <reentrant>False</reentrant>
+ <cmp-version>2.x</cmp-version>
+ <abstract-schema-name>Compat13BBean</abstract-schema-name>
+ <cmp-field>
+ <field-name>name</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>value</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>id</field-name>
+ </cmp-field>
+ <primkey-field>id</primkey-field>
+ <security-identity>
+ <description></description>
+ <use-caller-identity></use-caller-identity>
+ </security-identity>
+ </entity>
+ <entity>
+ <display-name>AEJB</display-name>
+ <ejb-name>AEJB</ejb-name>
+ <local-home>com.sun.ts.tests.compat13.ejb.oneXmany.ALocalHome</local-home>
+ <local>com.sun.ts.tests.compat13.ejb.oneXmany.ALocal</local>
+ <ejb-class>com.sun.ts.tests.compat13.ejb.oneXmany.AEJB</ejb-class>
+ <persistence-type>Container</persistence-type>
+ <prim-key-class>java.lang.String</prim-key-class>
+ <reentrant>False</reentrant>
+ <cmp-version>2.x</cmp-version>
+ <abstract-schema-name>Compat13ABean</abstract-schema-name>
+ <cmp-field>
+ <field-name>name</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>value</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>id</field-name>
+ </cmp-field>
+ <primkey-field>id</primkey-field>
+ <security-identity>
+ <description></description>
+ <use-caller-identity></use-caller-identity>
+ </security-identity>
+ </entity>
+ </enterprise-beans>
+ <relationships>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BeanEJB-BEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BeanEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>b2</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BEJB-BeanEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BEJB</ejb-name>
+ </relationship-role-source>
+ </ejb-relationship-role>
+ </ejb-relation>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BeanEJB-BEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BeanEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>b4</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BEJB-BeanEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BEJB</ejb-name>
+ </relationship-role-source>
+ </ejb-relationship-role>
+ </ejb-relation>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BeanEJB-BEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BeanEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>b3</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BEJB-BeanEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BEJB</ejb-name>
+ </relationship-role-source>
+ </ejb-relationship-role>
+ </ejb-relation>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>AEJB-BEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>AEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>b</cmr-field-name>
+ <cmr-field-type>java.util.Collection</cmr-field-type>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BEJB-AEJB</ejb-relationship-role-name>
+ <multiplicity>Many</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>a</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ </ejb-relation>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BeanEJB-AEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BeanEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>a1</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>AEJB-BeanEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>AEJB</ejb-name>
+ </relationship-role-source>
+ </ejb-relationship-role>
+ </ejb-relation>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BeanEJB-AEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BeanEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>a2</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>AEJB-BeanEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>AEJB</ejb-name>
+ </relationship-role-source>
+ </ejb-relationship-role>
+ </ejb-relation>
+ <ejb-relation>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BeanEJB-BEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BeanEJB</ejb-name>
+ </relationship-role-source>
+ <cmr-field>
+ <cmr-field-name>b1</cmr-field-name>
+ </cmr-field>
+ </ejb-relationship-role>
+ <ejb-relationship-role>
+ <ejb-relationship-role-name>BEJB-BeanEJB</ejb-relationship-role-name>
+ <multiplicity>One</multiplicity>
+ <relationship-role-source>
+ <ejb-name>BEJB</ejb-name>
+ </relationship-role-source>
+ </ejb-relationship-role>
+ </ejb-relation>
+ </relationships>
+ <assembly-descriptor>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>getAInfoFromB</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>setCmrFieldToWrongType</method-name>
+ <method-params>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Home</method-intf>
+ <method-name>remove</method-name>
+ <method-params>
+ <method-param>java.lang.Object</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>setName</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>getId</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>getName</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Home</method-intf>
+ <method-name>remove</method-name>
+ <method-params>
+ <method-param>javax.ejb.Handle</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Home</method-intf>
+ <method-name>findByPrimaryKey</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>test0</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>getBInfoFromA</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Home</method-intf>
+ <method-name>create</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ <method-param>java.lang.String</method-param>
+ <method-param>int</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.ADVC</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.BDVC</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.BDVC</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.ADVC</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.BDVC</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.BDVC</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>doAssignmentTest4</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>doAssignmentTest3</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>doAssignmentTest2</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>doAssignmentTest1</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>setCmrFieldToNull</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>remove</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>getValue</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Home</method-intf>
+ <method-name>create</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ <method-param>java.lang.String</method-param>
+ <method-param>int</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.ADVC</method-param>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.BDVC</method-param>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>init</method-name>
+ <method-params>
+ <method-param>java.util.Properties</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BeanEJB</ejb-name>
+ <method-intf>Remote</method-intf>
+ <method-name>setValue</method-name>
+ <method-params>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>LocalHome</method-intf>
+ <method-name>remove</method-name>
+ <method-params>
+ <method-param>java.lang.Object</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getA</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getName</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>LocalHome</method-intf>
+ <method-name>findByPrimaryKey</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setA</method-name>
+ <method-params>
+ <method-param>com.sun.ts.tests.compat13.ejb.oneXmany.ALocal</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>LocalHome</method-intf>
+ <method-name>create</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ <method-param>java.lang.String</method-param>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getId</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getValue</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setName</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>remove</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setValue</method-name>
+ <method-params>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>BEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getAInfo</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>LocalHome</method-intf>
+ <method-name>remove</method-name>
+ <method-params>
+ <method-param>java.lang.Object</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getB</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getName</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>LocalHome</method-intf>
+ <method-name>findByPrimaryKey</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setCmrFieldToNull</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>LocalHome</method-intf>
+ <method-name>create</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ <method-param>java.lang.String</method-param>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getId</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setCmrFieldToWrongType</method-name>
+ <method-params>
+ <method-param>java.util.Vector</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setB</method-name>
+ <method-params>
+ <method-param>java.util.Collection</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getValue</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setName</method-name>
+ <method-params>
+ <method-param>java.lang.String</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>remove</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>setValue</method-name>
+ <method-params>
+ <method-param>int</method-param>
+ </method-params>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ <container-transaction>
+ <method>
+ <ejb-name>AEJB</ejb-name>
+ <method-intf>Local</method-intf>
+ <method-name>getBInfo</method-name>
+ <method-params />
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ </assembly-descriptor>
+</ejb-jar>
Property changes on: projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/EjbJar20_testOneMany.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list