The following comment has been added to this issue:

     Author: Thomas Weber
    Created: Tue, 22 Jul 2003 10:54 AM
       Body:
The same bug is encountered with the transaction tags.
---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-456


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-456
    Summary: permission tag is not used properly for subclasses
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
  Remaining: 0 minutes

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Hans Dockter

    Created: Wed, 23 Apr 2003 2:25 AM
    Updated: Wed, 23 Apr 2003 2:25 AM

Description:
My entity beans which subclass the base entity bean inherit the
interface-method and the persistent-field but not the permission.

The permission is attached to the BaseEntityBean which is not even
deployed. The method-tag from above is as many times in the deployment
descriptor as there are entity beans subclassing the base class. Each
of this method-tags should have as ejb-name the name of the derived
entity bean not the name of the superclass.

public abstract class BaseEntityBean implements EntityBean {
        protected EntityContext fContext;
        /**
         * @ejb.persistent-field
         * @ejb.interface-method  
         * 
         * @ejb.permission 
         *   unchecked = "true"
         */
        public abstract Long getUniqueSequence();
        public abstract void setUniqueSequence(Long uniqueSequence);

<method>
  <description></description>
  <ejb-name>org.weta.tm.document.entity.BaseEntity</ejb-name>
  <method-intf>Local</method-intf>
  <method-name>getUniqueSequence</method-name>
  <method-params>
  </method-params>
</method>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to