User: user57
Date: 01/08/26 21:48:24
Added: src/resources/secure-perf/META-INF ejb-jar.xml jboss.xml
Log:
o Integrated the testsuite module with the new build system.
Revision Changes Path
1.1 jbosstest/src/resources/secure-perf/META-INF/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- A version of the perf.jar deployment descriptor that requires
security for every bean.
-->
<ejb-jar>
<description>Secure Performance test</description>
<display-name>Secure PerfTest</display-name>
<enterprise-beans>
<session>
<ejb-name>Session</ejb-name>
<home>org.jboss.test.perf.interfaces.SessionHome</home>
<remote>org.jboss.test.perf.interfaces.Session</remote>
<ejb-class>org.jboss.test.perf.ejb.SessionBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Bean</transaction-type>
</session>
<session>
<ejb-name>ClientSession</ejb-name>
<home>org.jboss.test.perf.interfaces.SessionHome</home>
<remote>org.jboss.test.perf.interfaces.Session</remote>
<ejb-class>org.jboss.test.perf.ejb.ClientSessionBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/Session</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>org.jboss.test.perf.interfaces.SessionHome</home>
<remote>org.jboss.test.perf.interfaces.Session</remote>
<ejb-link>Session</ejb-link>
</ejb-ref>
</session>
<session>
<ejb-name>Probe</ejb-name>
<home>org.jboss.test.perf.interfaces.ProbeHome</home>
<remote>org.jboss.test.perf.interfaces.Probe</remote>
<ejb-class>org.jboss.test.perf.ejb.ProbeBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
<session>
<ejb-name>ProbeCMT</ejb-name>
<home>org.jboss.test.perf.interfaces.ProbeHome</home>
<remote>org.jboss.test.perf.interfaces.Probe</remote>
<ejb-class>org.jboss.test.perf.ejb.ProbeBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<description>Transacted stateless session bean</description>
<ejb-name>TxSession</ejb-name>
<home>org.jboss.test.perf.interfaces.TxSessionHome</home>
<remote>org.jboss.test.perf.interfaces.TxSession</remote>
<ejb-class>org.jboss.test.perf.ejb.TxSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<entity>
<ejb-name>Entity</ejb-name>
<home>org.jboss.test.perf.interfaces.EntityHome</home>
<remote>org.jboss.test.perf.interfaces.Entity</remote>
<ejb-class>org.jboss.test.perf.ejb.EntityBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>org.jboss.test.perf.interfaces.EntityPK</prim-key-class>
<reentrant>True</reentrant>
<cmp-field>
<field-name>the_key</field-name>
</cmp-field>
<cmp-field>
<field-name>the_value</field-name>
</cmp-field>
</entity>
<entity>
<ejb-name>Entity2</ejb-name>
<home>org.jboss.test.perf.interfaces.Entity2Home</home>
<remote>org.jboss.test.perf.interfaces.Entity</remote>
<ejb-class>org.jboss.test.perf.ejb.Entity2Bean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>org.jboss.test.perf.interfaces.Entity2PK</prim-key-class>
<reentrant>True</reentrant>
<cmp-field>
<field-name>key1</field-name>
</cmp-field>
<cmp-field>
<field-name>key2</field-name>
</cmp-field>
<cmp-field>
<field-name>key3</field-name>
</cmp-field>
<cmp-field>
<field-name>the_value</field-name>
</cmp-field>
</entity>
</enterprise-beans>
<assembly-descriptor>
<security-role>
<role-name>TheDuke</role-name>
</security-role>
<method-permission>
<role-name>TheDuke</role-name>
<method>
<ejb-name>Session</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>ClientSession</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>Probe</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>ProbeCMT</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>Entity</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>Entity2</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<container-transaction>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>requiredToSupports</method-name>
</method>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>txRequired</method-name>
</method>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>requiredToMandatory</method-name>
</method>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>requiredToRequiresNew</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>txSupports</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>txMandatory</method-name>
</method>
<trans-attribute>Mandatory</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>txRequiresNew</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>txNever</method-name>
</method>
<trans-attribute>Never</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TxSession</ejb-name>
<method-name>txNotSupported</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
1.1 jbosstest/src/resources/secure-perf/META-INF/jboss.xml
Index: jboss.xml
===================================================================
<?xml version="1.0"?>
<!-- The jboss.xml descriptor for the secure-perf.jar
This descriptor redefines the JNDI names of the beans in the ejb-jar.xml
descriptor so that there is no conflict with the perf.jar deployment.
-->
<jboss>
<security-domain>java:/jaas/other</security-domain>
<enterprise-beans>
<session>
<ejb-name>Session</ejb-name>
<jndi-name>secure/perf/Session</jndi-name>
</session>
<session>
<ejb-name>ClientSession</ejb-name>
<jndi-name>secure/perf/ClientSession</jndi-name>
<ejb-ref>
<ejb-ref-name>ejb/Session</ejb-ref-name>
<jndi-name>Session</jndi-name>
</ejb-ref>
</session>
<session>
<ejb-name>Probe</ejb-name>
<jndi-name>secure/perf/Probe</jndi-name>
</session>
<session>
<ejb-name>ProbeCMT</ejb-name>
<jndi-name>secure/perf/ProbeCMT</jndi-name>
</session>
<session>
<ejb-name>TxSession</ejb-name>
<jndi-name>secure/perf/TxSession</jndi-name>
</session>
<entity>
<ejb-name>Entity</ejb-name>
<jndi-name>secure/perf/Entity</jndi-name>
</entity>
<entity>
<ejb-name>Entity2</ejb-name>
<jndi-name>secure/perf/Entity2</jndi-name>
</entity>
</enterprise-beans>
</jboss>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development