[jboss-cvs] JBossAS SVN: r61494 - in trunk/testsuite/src/resources/entity/entity: META-INF and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Mar 20 10:59:30 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-03-20 10:59:30 -0400 (Tue, 20 Mar 2007)
New Revision: 61494
Added:
trunk/testsuite/src/resources/entity/entity/META-INF/
trunk/testsuite/src/resources/entity/entity/META-INF/ejb-jar.xml
trunk/testsuite/src/resources/entity/entity/META-INF/jboss.xml
trunk/testsuite/src/resources/entity/entity/META-INF/jbosscmp-jdbc.xml
Log:
Add the missing jboss-test-entity.jar descriptors
Added: trunk/testsuite/src/resources/entity/entity/META-INF/ejb-jar.xml
===================================================================
--- trunk/testsuite/src/resources/entity/entity/META-INF/ejb-jar.xml (rev 0)
+++ trunk/testsuite/src/resources/entity/entity/META-INF/ejb-jar.xml 2007-03-20 14:59:30 UTC (rev 61494)
@@ -0,0 +1,87 @@
+<?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 -->
+ <!--
+ 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[An entity.]]></description>
+
+ <ejb-name>TestEntity</ejb-name>
+
+ <home>org.jboss.test.entity.interfaces.TestEntityHome</home>
+ <remote>org.jboss.test.entity.interfaces.TestEntity</remote>
+ <local-home>org.jboss.test.entity.interfaces.TestEntityLocalHome</local-home>
+ <local>org.jboss.test.entity.interfaces.TestEntityLocal</local>
+
+ <ejb-class>org.jboss.test.entity.beans.TestEntityCMP</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>test</abstract-schema-name>
+ <cmp-field >
+ <description><![CDATA[]]></description>
+ <field-name>entityID</field-name>
+ </cmp-field>
+ <cmp-field >
+ <description><![CDATA[]]></description>
+ <field-name>value1</field-name>
+ </cmp-field>
+ <primkey-field>entityID</primkey-field>
+
+ <!-- Write a file named ejb-finders-TestEntityBean.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 -->
+ <assembly-descriptor >
+ <!--
+ To add additional assembly descriptor info here, add a file to your
+ XDoclet merge directory called assembly-descriptor.xml that contains
+ the <assembly-descriptor></assembly-descriptor> markup.
+ -->
+
+ <!-- finder permissions -->
+
+ <!-- transactions -->
+ <container-transaction >
+ <method >
+ <ejb-name>TestEntity</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+
+ <!-- finder transactions -->
+ </assembly-descriptor>
+
+</ejb-jar>
Property changes on: trunk/testsuite/src/resources/entity/entity/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id,Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/entity/entity/META-INF/jboss.xml
===================================================================
--- trunk/testsuite/src/resources/entity/entity/META-INF/jboss.xml (rev 0)
+++ trunk/testsuite/src/resources/entity/entity/META-INF/jboss.xml 2007-03-20 14:59:30 UTC (rev 61494)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
+
+<jboss>
+
+ <enterprise-beans>
+
+ <!--
+ To add beans that you have deployment descriptor info for, add
+ a file to your XDoclet merge directory called jboss-beans.xml that contains
+ the <session></session>, <entity></entity> and <message-driven></message-driven>
+ markup for those beans.
+ -->
+
+ <entity>
+ <ejb-name>TestEntity</ejb-name>
+ <jndi-name>test/entity/TestEntity</jndi-name>
+ <local-jndi-name>test/entity/TestEntityLocal</local-jndi-name>
+ <configuration-name>TestEntity Container Configuration</configuration-name>
+
+ </entity>
+
+ </enterprise-beans>
+
+ <resource-managers>
+ </resource-managers>
+
+ <container-configurations>
+ <!-- Commit option B CMP Bean -->
+ <container-configuration extends="Standard CMP 2.x EntityBean">
+ <container-name>TestEntity Container Configuration</container-name>
+ <commit-option>B</commit-option>
+ </container-configuration>
+ </container-configurations>
+
+</jboss>
Property changes on: trunk/testsuite/src/resources/entity/entity/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id,Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/src/resources/entity/entity/META-INF/jbosscmp-jdbc.xml
===================================================================
--- trunk/testsuite/src/resources/entity/entity/META-INF/jbosscmp-jdbc.xml (rev 0)
+++ trunk/testsuite/src/resources/entity/entity/META-INF/jbosscmp-jdbc.xml 2007-03-20 14:59:30 UTC (rev 61494)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
+
+<jbosscmp-jdbc>
+ <defaults>
+ <datasource>java:/DefaultDS</datasource>
+ <datasource-mapping>Hypersonic SQL</datasource-mapping>
+ </defaults>
+
+ <enterprise-beans>
+
+ <!--
+ To add beans that you have deployment descriptor info for, add
+ a file to your XDoclet merge directory called jbosscmp-jdbc-beans.xml
+ that contains the <entity></entity> markup for those beans.
+ -->
+
+ <entity>
+ <ejb-name>TestEntity</ejb-name>
+ <create-table>true</create-table>
+ <remove-table>true</remove-table>
+ <table-name>test_entity_testentity</table-name>
+
+ <cmp-field>
+ <field-name>entityID</field-name>
+
+ </cmp-field>
+ <cmp-field>
+ <field-name>value1</field-name>
+
+ </cmp-field>
+
+ </entity>
+
+ </enterprise-beans>
+
+</jbosscmp-jdbc>
Property changes on: trunk/testsuite/src/resources/entity/entity/META-INF/jbosscmp-jdbc.xml
___________________________________________________________________
Name: svn:keywords
+ Id,Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list