The following comment has been added to this issue:

     Author: pique
    Created: Thu, 12 Aug 2004 8:19 AM
       Body:
The same in 1.2.1 . This make error in deploy time  so base class isn't EJB.
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-456?page=comments#action_14541

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-456

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

     Status: Open
   Priority: Major

 Original Estimate: 0 minutes
 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: Thu, 12 Aug 2004 8:19 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



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to