djencks 2004/11/09 20:35:16
Added: modules/openejb-builder/src/test-ejb-jar/META-INF
ejb-jar.xml openejb-jar.xml
Log:
GERONIMO-402, 464. Split openejb and security deployment code into separate
modules
Revision Changes Path
1.1
openejb/modules/openejb-builder/src/test-ejb-jar/META-INF/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
<?xml version="1.0" encoding="US-ASCII"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
version="2.1">
<enterprise-beans>
<session>
<ejb-name>SimpleStatelessSession</ejb-name>
<home>org.openejb.test.simple.slsb.SimpleStatelessSessionHome</home>
<remote>org.openejb.test.simple.slsb.SimpleStatelessSession</remote>
<local-home>org.openejb.test.simple.slsb.SimpleStatelessSessionLocalHome</local-home>
<local>org.openejb.test.simple.slsb.SimpleStatelessSessionLocal</local>
<ejb-class>org.openejb.test.simple.slsb.SimpleStatelessSessionEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<ejb-name>SimpleStatefulSession</ejb-name>
<home>org.openejb.test.simple.sfsb.SimpleStatefulSessionHome</home>
<remote>org.openejb.test.simple.sfsb.SimpleStatefulSession</remote>
<local-home>org.openejb.test.simple.sfsb.SimpleStatefulSessionLocalHome</local-home>
<local>org.openejb.test.simple.sfsb.SimpleStatefulSessionLocal</local>
<ejb-class>org.openejb.test.simple.sfsb.SimpleStatefulSessionEJB</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</session>
<entity>
<ejb-name>SimpleBMPEntity</ejb-name>
<home>org.openejb.test.simple.bmp.SimpleBMPEntityHome</home>
<remote>org.openejb.test.simple.bmp.SimpleBMPEntity</remote>
<local-home>org.openejb.test.simple.bmp.SimpleBMPEntityLocalHome</local-home>
<local>org.openejb.test.simple.bmp.SimpleBMPEntityLocal</local>
<ejb-class>org.openejb.test.simple.bmp.SimpleBMPEntityEJB</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>false</reentrant>
</entity>
<entity>
<ejb-name>SimpleCMPEntity</ejb-name>
<home>org.openejb.test.simple.cmp.SimpleCMPEntityHome</home>
<remote>org.openejb.test.simple.cmp.SimpleCMPEntity</remote>
<local-home>org.openejb.test.simple.cmp.SimpleCMPEntityLocalHome</local-home>
<local>org.openejb.test.simple.cmp.SimpleCMPEntityLocal</local>
<ejb-class>org.openejb.test.simple.cmp.SimpleCMPEntityEJB</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>SimpleCMP</abstract-schema-name>
<cmp-field><field-name>id</field-name></cmp-field>
<cmp-field><field-name>firstName</field-name></cmp-field>
<cmp-field><field-name>lastName</field-name></cmp-field>
<primkey-field>id</primkey-field>
</entity>
<!--
<entity>
<ejb-name>CompoundPKEntity</ejb-name>
<home>org.openejb.test.simple.cmp.CompoundPKEntityHome</home>
<remote>org.openejb.test.simple.cmp.CompoundPKEntity</remote>
<local-home>org.openejb.test.simple.cmp.CompoundPKEntityLocalHome</local-home>
<local>org.openejb.test.simple.cmp.CompoundPKEntityLocal</local>
<ejb-class>org.openejb.test.simple.cmp.CompoundPKEntityEJB</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>org.openejb.test.simple.cmp.CompoundPK</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>SimpleCMP</abstract-schema-name>
<cmp-field><field-name>k1</field-name></cmp-field>
<cmp-field><field-name>k2</field-name></cmp-field>
<cmp-field><field-name>firstName</field-name></cmp-field>
<cmp-field><field-name>lastName</field-name></cmp-field>
</entity>
-->
<message-driven>
<ejb-name>SimpleMessageDriven</ejb-name>
<ejb-class>org.openejb.test.simple.mdb.SimpleMessageDrivenBean</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<!--activation-config></activation-config-->
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<unchecked/>
<method>
<ejb-name>SimpleStatelessSession</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<method-permission>
<unchecked/>
<method>
<ejb-name>SimpleStatefulSession</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<method-permission>
<unchecked/>
<method>
<ejb-name>SimpleBMPEntity</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<method-permission>
<unchecked/>
<method>
<ejb-name>SimpleCMPEntity</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<container-transaction>
<description>Transaction attributes for 'SimpleStatelessSession'
methods</description>
<method>
<ejb-name>SimpleStatelessSession</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>Transaction attributes for 'SimpleStatefulSession'
methods</description>
<method>
<ejb-name>SimpleStatefulSession</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>Transaction attributes for 'SimpleBMPEntity'
methods</description>
<method>
<ejb-name>SimpleBMPEntity</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>Transaction attributes for 'SimpleCMPEntity'
methods</description>
<method>
<ejb-name>SimpleCMPEntity</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>Transaction attributes for 'SimpleMessageDriven'
methods</description>
<method>
<ejb-name>SimpleMessageDriven</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
1.1
openejb/modules/openejb-builder/src/test-ejb-jar/META-INF/openejb-jar.xml
Index: openejb-jar.xml
===================================================================
<?xml version="1.0"?>
<openejb-jar
xmlns="http://www.openejb.org/xml/ns/openejb-jar"
configId="org/openejb/deployment/test"
parentId="org/apache/geronimo/Server">
<cmp-connection-factory>
<application>null</application>
<module>org/apache/geronimo/DefaultDatabase</module>
<name>DefaultDatasource</name>
</cmp-connection-factory>
<enterprise-beans>
<session>
<ejb-name>SimpleStatelessSession</ejb-name>
<jndi-name>client/test/simple/SimpleStatelessSessionHome</jndi-name>
</session>
<entity>
<ejb-name>SimpleCMPEntity</ejb-name>
<table-name>SimpleCMP</table-name>
<cmp-field-mapping>
<cmp-field-name>id</cmp-field-name>
<table-column>id</table-column>
</cmp-field-mapping>
<cmp-field-mapping>
<cmp-field-name>firstName</cmp-field-name>
<table-column>firstName</table-column>
</cmp-field-mapping>
<cmp-field-mapping>
<cmp-field-name>lastName</cmp-field-name>
<table-column>lastName</table-column>
</cmp-field-mapping>
</entity>
<message-driven>
<ejb-name>SimpleMessageDriven</ejb-name>
<resource-adapter>
<resource-link>MockRA</resource-link>
</resource-adapter>
</message-driven>
</enterprise-beans>
</openejb-jar>