Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/expected
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28575/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/expected
Modified Files:
ejb-jar-v11.xml ejb-jar-v20.xml ejb-jar-v21.xml
Log Message:
* Added LookupObjectPlugin
* Finished PrimaryKeyClassPlugin
* Fixed small bugs
Index: ejb-jar-v20.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/expected/ejb-jar-v20.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ejb-jar-v20.xml 6 Oct 2005 13:44:55 -0000 1.6
--- ejb-jar-v20.xml 11 Oct 2005 09:22:26 -0000 1.7
***************
*** 1,529 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
! <!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">
! <enterprise-beans>
! <!--Enterprise Beans-->
! <entity id="entity_Account">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Account</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.AccountRemoteHome</home>
[...1015 lines suppressed...]
! <method-name>findAll</method-name>
! </method>
! <trans-attribute>Supports</trans-attribute>
! </container-transaction>
! <container-transaction id="MethodTransaction_2">
! <description>Description not supported yet</description>
! <method id="MethodElement_19">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findAll</method-name>
! <method-params>
! <method-param>int[]</method-param>
! </method-params>
! </method>
! <trans-attribute>Required</trans-attribute>
! </container-transaction>
! </assembly-descriptor>
</ejb-jar>
\ No newline at end of file
Index: ejb-jar-v21.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/expected/ejb-jar-v21.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ejb-jar-v21.xml 6 Oct 2005 13:44:55 -0000 1.6
--- ejb-jar-v21.xml 11 Oct 2005 09:22:26 -0000 1.7
***************
*** 1,569 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
!
! <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" id="ejb_jar_1">
! <enterprise-beans>
! <!--Enterprise Beans-->
! <entity id="entity_Account">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Account</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.AccountRemoteHome</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.AccountRemote</remote>
[...1096 lines suppressed...]
! <method-name>findAll</method-name>
! </method>
! <trans-attribute>Supports</trans-attribute>
! </container-transaction>
! <container-transaction id="MethodTransaction_2">
! <description>Description not supported yet</description>
! <method id="MethodElement_19">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findAll</method-name>
! <method-params>
! <method-param>int[]</method-param>
! </method-params>
! </method>
! <trans-attribute>Required</trans-attribute>
! </container-transaction>
! </assembly-descriptor>
</ejb-jar>
\ No newline at end of file
Index: ejb-jar-v11.xml
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/expected/ejb-jar-v11.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ejb-jar-v11.xml 6 Oct 2005 13:44:55 -0000 1.6
--- ejb-jar-v11.xml 11 Oct 2005 09:22:26 -0000 1.7
***************
*** 1,278 ****
! <?xml version="1.0" encoding="ISO-8859-1"?>
! <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
!
! <ejb-jar id="ejb_jar_1">
! <enterprise-beans>
! <!--Enterprise Beans-->
! <entity id="entity_Account">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Account</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.AccountRemoteHome</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.AccountRemote</remote>
! <!--
! TODO: Suport endpoint, ie, JAX-RPC webservices. Needs a new
generating plugin (just for session beans ?)
<service-endpoint><XDtEjbIntf:componentInterface
type="service-endpoint"/></service-endpoint>
! From XSD: The service-endpoint element may only be specified
if the bean is a stateless session bean.
! -->
! <ejb-class>org.xdoclet.testapp.ejb.beans.AccountBean</ejb-class>
! <persistence-type>Container</persistence-type>
! <prim-key-class>java.lang.String</prim-key-class>
! <reentrant>False</reentrant>
! <cmp-field id="CMPAttribute_1">
! <description/>
! <field-name>number</field-name>
! </cmp-field>
! <cmp-field id="CMPAttribute_2">
! <description>Gets the type</description>
! <field-name>type</field-name>
! </cmp-field>
! <primkey-field>number</primkey-field>
! <!--Define your Ejb env entries in a file called
ejb-env-entries-AccountBean.xml and place it in your merge directory. Overrides
@ejb.env-entry's-->
! <!--Define your Ejb refs entries in a file called
ejb-ejbrefs-AccountBean.xml and place it in your merge directory.-->
! <!--Define your Ejb security role refs entries in a file called
ejb-sec-rolerefs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.security-role-ref's-->
! <!--Define your resource references in a file called
ejb-resourcerefs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.resource-ref's-->
! <!--Define your resource env references in a file called
ejb-resource-env-refs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.resource-env-ref's-->
! <!--Define your destination references in a file called
ejb-destinationrefs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.destination-ref's-->
! </entity>
! <entity id="entity_Client">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Client</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.ClientRemoteHomeIFace</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.ClientIFaceRemote</remote>
! <!--
! TODO: Suport endpoint, ie, JAX-RPC webservices. Needs a new
generating plugin (just for session beans ?)
<service-endpoint><XDtEjbIntf:componentInterface
type="service-endpoint"/></service-endpoint>
! From XSD: The service-endpoint element may only be specified
if the bean is a stateless session bean.
! -->
! <ejb-class>org.xdoclet.testapp.ejb.beans.ClientBean</ejb-class>
! <persistence-type>Container</persistence-type>
! <prim-key-class>java.lang.String</prim-key-class>
! <reentrant>False</reentrant>
! <cmp-field id="CMPAttribute_3">
! <description/>
! <field-name>identityNumber</field-name>
! </cmp-field>
! <primkey-field>identityNumber</primkey-field>
! <!--Define your Ejb env entries in a file called
ejb-env-entries-ClientBean.xml and place it in your merge directory. Overrides
@ejb.env-entry's-->
! <!--Define your Ejb refs entries in a file called
ejb-ejbrefs-ClientBean.xml and place it in your merge directory.-->
! <!--Define your Ejb security role refs entries in a file called
ejb-sec-rolerefs-ClientBean.xml and place it in your merge directory. Overrides
@ejb.security-role-ref's-->
! <!--Define your resource references in a file called
ejb-resourcerefs-ClientBean.xml and place it in your merge directory. Overrides
@ejb.resource-ref's-->
! <!--Define your resource env references in a file called
ejb-resource-env-refs-ClientBean.xml and place it in your merge directory.
Overrides @ejb.resource-env-ref's-->
! <!--Define your destination references in a file called
ejb-destinationrefs-ClientBean.xml and place it in your merge directory.
Overrides @ejb.destination-ref's-->
! </entity>
! <session id="session_Transfer">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Transfer</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.TransferRemoteHome</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.TransferRemote</remote>
! <!--
! TODO: Suport endpoint, ie, JAX-RPC webservices. Needs a new
generating plugin (just for session beans ?)
<service-endpoint><XDtEjbIntf:componentInterface
type="service-endpoint"/></service-endpoint>
! From XSD: The service-endpoint element may only be specified
if the bean is a stateless session bean.
! -->
! <ejb-class>org.xdoclet.testapp.ejb.beans.TransferBean</ejb-class>
! <session-type>Stateless</session-type>
! <transaction-type>Container</transaction-type>
! <!--Define your Ejb env entries in a file called
ejb-env-entries-TransferBean.xml and place it in your merge directory.
Overrides @ejb.env-entry's-->
! <!--Define your Ejb refs entries in a file called
ejb-ejbrefs-TransferBean.xml and place it in your merge directory.-->
! <!--Define your Ejb security role refs entries in a file called
ejb-sec-rolerefs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.security-role-ref's-->
! <!--Define your resource references in a file called
ejb-resourcerefs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.resource-ref's-->
! <!--Define your resource env references in a file called
ejb-resource-env-refs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.resource-env-ref's-->
! <!--Define your destination references in a file called
ejb-destinationrefs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.destination-ref's-->
! </session>
! <!--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.-->
! <!--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.-->
! </enterprise-beans>
! <!--To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called assembly-descriptor.xml that contains the
<assembly-descriptor></assembly-descriptor> markup. Overrides xdoclet
generation.-->
! <assembly-descriptor id="AssemblyDescriptor_1">
! <!--To specify additional security-role elements, add a file in the merge
directory called ejb-security-roles.xml that contains them.-->
! <security-role>
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>myRole1</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>myRole2</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>myRole3</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>normal-role</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>operator</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>user-role</role-name>
! </security-role>
! <!--To specify additional method-permission elements, add a file in the
merge directory called ejb-method-permissions.xml that contains them.-->
! <method-permission id="MethodPermission_1">
! <description>Description not supported yet</description>
! <role-name>normal-role</role-name>
! <method id="MethodElement_1">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Remote</method-intf>
! <method-name>*</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_2">
! <description>Description not supported yet</description>
! <role-name>normal-role</role-name>
! <method id="MethodElement_2">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>*</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_3">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_3">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Remote</method-intf>
! <method-name>getOwners</method-name>
! <method-params>
! <method-param>int</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_4">
! <description>Description not supported yet</description>
! <role-name>user-role</role-name>
! <method id="MethodElement_4">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Remote</method-intf>
! <method-name>getNumber</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_5">
! <description>Description not supported yet</description>
! <role-name>operator</role-name>
! <role-name>admin</role-name>
! <method id="MethodElement_5">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>create</method-name>
! <method-params>
! <method-param>java.lang.String</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_6">
! <description>Description not supported yet</description>
! <role-name>myRole1</role-name>
! <method id="MethodElement_6">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findAll</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_7">
! <description>Description not supported yet</description>
! <role-name>myRole2</role-name>
! <method id="MethodElement_7">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findAll</method-name>
! <method-params>
! <method-param>int[]</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_8">
! <description>Description not supported yet</description>
! <role-name>myRole3</role-name>
! <method id="MethodElement_8">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findOther</method-name>
! <method-params>
! <method-param>java.lang.String</method-param>
! <method-param>java.lang.Integer</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_9">
! <description>Description not supported yet</description>
! <role-name>myRole3</role-name>
! <method id="MethodElement_9">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findOther</method-name>
! <method-params>
! <method-param>java.lang.String</method-param>
! <method-param>java.lang.Integer</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_10">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_10">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findWithHighestBalance</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_11">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_11">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findWithHighestBalance</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_12">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_12">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findByPrimaryKey</method-name>
! </method>
! </method-permission>
! <!--To specify additional container-transaction elements, add a file in
the merge directory called ejb-container-transactions.xml that contains them.-->
! <container-transaction id="MethodTransaction_1">
! <description>Description not supported yet</description>
! <method id="MethodElement_13">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findAll</method-name>
! </method>
! <trans-attribute>Supports</trans-attribute>
! </container-transaction>
! <container-transaction id="MethodTransaction_2">
! <description>Description not supported yet</description>
! <method id="MethodElement_14">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findAll</method-name>
! <method-params>
! <method-param>int[]</method-param>
! </method-params>
! </method>
! <trans-attribute>Required</trans-attribute>
! </container-transaction>
! </assembly-descriptor>
</ejb-jar>
\ No newline at end of file
--- 1,266 ----
! <?xml version="1.0" encoding="ISO-8859-1"?>
! <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
!
! <ejb-jar id="ejb_jar_1">
! <enterprise-beans>
! <!--Enterprise Beans-->
! <entity id="entity_Account">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Account</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.AccountRemoteHome</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.AccountRemote</remote>
! <ejb-class>org.xdoclet.testapp.ejb.beans.AccountBean</ejb-class>
! <persistence-type>Container</persistence-type>
! <prim-key-class>java.lang.String</prim-key-class>
! <reentrant>False</reentrant>
! <cmp-field id="CMPAttribute_1">
! <description/>
! <field-name>number</field-name>
! </cmp-field>
! <cmp-field id="CMPAttribute_2">
! <description>Gets the type</description>
! <field-name>type</field-name>
! </cmp-field>
! <primkey-field>number</primkey-field>
! <!--Define your Ejb env entries in a file called
ejb-env-entries-AccountBean.xml and place it in your merge directory. Overrides
@ejb.env-entry's-->
! <!--Define your Ejb refs entries in a file called
ejb-ejbrefs-AccountBean.xml and place it in your merge directory.-->
! <!--Define your Ejb security role refs entries in a file called
ejb-sec-rolerefs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.security-role-ref's-->
! <!--Define your resource references in a file called
ejb-resourcerefs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.resource-ref's-->
! <!--Define your resource env references in a file called
ejb-resource-env-refs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.resource-env-ref's-->
! <!--Define your destination references in a file called
ejb-destinationrefs-AccountBean.xml and place it in your merge directory.
Overrides @ejb.destination-ref's-->
! </entity>
! <entity id="entity_Client">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Client</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.ClientRemoteHomeIFace</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.ClientIFaceRemote</remote>
! <ejb-class>org.xdoclet.testapp.ejb.beans.ClientBean</ejb-class>
! <persistence-type>Container</persistence-type>
! <prim-key-class>java.lang.String</prim-key-class>
! <reentrant>False</reentrant>
! <cmp-field id="CMPAttribute_3">
! <description/>
! <field-name>identityNumber</field-name>
! </cmp-field>
! <primkey-field>identityNumber</primkey-field>
! <!--Define your Ejb env entries in a file called
ejb-env-entries-ClientBean.xml and place it in your merge directory. Overrides
@ejb.env-entry's-->
! <!--Define your Ejb refs entries in a file called
ejb-ejbrefs-ClientBean.xml and place it in your merge directory.-->
! <!--Define your Ejb security role refs entries in a file called
ejb-sec-rolerefs-ClientBean.xml and place it in your merge directory. Overrides
@ejb.security-role-ref's-->
! <!--Define your resource references in a file called
ejb-resourcerefs-ClientBean.xml and place it in your merge directory. Overrides
@ejb.resource-ref's-->
! <!--Define your resource env references in a file called
ejb-resource-env-refs-ClientBean.xml and place it in your merge directory.
Overrides @ejb.resource-env-ref's-->
! <!--Define your destination references in a file called
ejb-destinationrefs-ClientBean.xml and place it in your merge directory.
Overrides @ejb.destination-ref's-->
! </entity>
! <session id="session_Transfer">
! <description>This is part of the common test application for all
ejb-related</description>
! <ejb-name>Transfer</ejb-name>
! <home>org.xdoclet.testapp.ejb.interfaces.TransferRemoteHome</home>
! <remote>org.xdoclet.testapp.ejb.interfaces.TransferRemote</remote>
! <ejb-class>org.xdoclet.testapp.ejb.beans.TransferBean</ejb-class>
! <session-type>Stateless</session-type>
! <transaction-type>Container</transaction-type>
! <!--Define your Ejb env entries in a file called
ejb-env-entries-TransferBean.xml and place it in your merge directory.
Overrides @ejb.env-entry's-->
! <!--Define your Ejb refs entries in a file called
ejb-ejbrefs-TransferBean.xml and place it in your merge directory.-->
! <!--Define your Ejb security role refs entries in a file called
ejb-sec-rolerefs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.security-role-ref's-->
! <!--Define your resource references in a file called
ejb-resourcerefs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.resource-ref's-->
! <!--Define your resource env references in a file called
ejb-resource-env-refs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.resource-env-ref's-->
! <!--Define your destination references in a file called
ejb-destinationrefs-TransferBean.xml and place it in your merge directory.
Overrides @ejb.destination-ref's-->
! </session>
! <!--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.-->
! <!--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.-->
! </enterprise-beans>
! <!--To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called assembly-descriptor.xml that contains the
<assembly-descriptor></assembly-descriptor> markup. Overrides xdoclet
generation.-->
! <assembly-descriptor id="AssemblyDescriptor_1">
! <!--To specify additional security-role elements, add a file in the merge
directory called ejb-security-roles.xml that contains them.-->
! <security-role>
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>myRole1</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>myRole2</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>myRole3</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>normal-role</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>operator</role-name>
! </security-role>
! <security-role>
! <description>Description not supported yet</description>
! <role-name>user-role</role-name>
! </security-role>
! <!--To specify additional method-permission elements, add a file in the
merge directory called ejb-method-permissions.xml that contains them.-->
! <method-permission id="MethodPermission_1">
! <description>Description not supported yet</description>
! <role-name>normal-role</role-name>
! <method id="MethodElement_1">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Remote</method-intf>
! <method-name>*</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_2">
! <description>Description not supported yet</description>
! <role-name>normal-role</role-name>
! <method id="MethodElement_2">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>*</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_3">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_3">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Remote</method-intf>
! <method-name>getOwners</method-name>
! <method-params>
! <method-param>int</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_4">
! <description>Description not supported yet</description>
! <role-name>user-role</role-name>
! <method id="MethodElement_4">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Remote</method-intf>
! <method-name>getNumber</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_5">
! <description>Description not supported yet</description>
! <role-name>operator</role-name>
! <role-name>admin</role-name>
! <method id="MethodElement_5">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>create</method-name>
! <method-params>
! <method-param>java.lang.String</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_6">
! <description>Description not supported yet</description>
! <role-name>myRole1</role-name>
! <method id="MethodElement_6">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findAll</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_7">
! <description>Description not supported yet</description>
! <role-name>myRole2</role-name>
! <method id="MethodElement_7">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findAll</method-name>
! <method-params>
! <method-param>int[]</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_8">
! <description>Description not supported yet</description>
! <role-name>myRole3</role-name>
! <method id="MethodElement_8">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findOther</method-name>
! <method-params>
! <method-param>java.lang.String</method-param>
! <method-param>java.lang.Integer</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_9">
! <description>Description not supported yet</description>
! <role-name>myRole3</role-name>
! <method id="MethodElement_9">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findOther</method-name>
! <method-params>
! <method-param>java.lang.String</method-param>
! <method-param>java.lang.Integer</method-param>
! </method-params>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_10">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_10">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findWithHighestBalance</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_11">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_11">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findWithHighestBalance</method-name>
! </method>
! </method-permission>
! <method-permission id="MethodPermission_12">
! <description>Description not supported yet</description>
! <role-name>admin</role-name>
! <method id="MethodElement_12">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findByPrimaryKey</method-name>
! </method>
! </method-permission>
! <!--To specify additional container-transaction elements, add a file in
the merge directory called ejb-container-transactions.xml that contains them.-->
! <container-transaction id="MethodTransaction_1">
! <description>Description not supported yet</description>
! <method id="MethodElement_13">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>LocalHome</method-intf>
! <method-name>findAll</method-name>
! </method>
! <trans-attribute>Supports</trans-attribute>
! </container-transaction>
! <container-transaction id="MethodTransaction_2">
! <description>Description not supported yet</description>
! <method id="MethodElement_14">
! <description>Description not supported yet</description>
! <ejb-name>Account</ejb-name>
! <method-intf>Home</method-intf>
! <method-name>findAll</method-name>
! <method-params>
! <method-param>int[]</method-param>
! </method-params>
! </method>
! <trans-attribute>Required</trans-attribute>
! </container-transaction>
! </assembly-descriptor>
</ejb-jar>
\ No newline at end of file
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits