Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-579
    Summary: @ejb.home defaults do not apply when one bean extends another
       Type: Bug

     Status: Assigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

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

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Michael Pichler

    Created: Mon, 28 Jul 2003 10:13 AM
    Updated: Mon, 28 Jul 2003 10:13 AM
Environment: ejbdoclet @ejb.home

Description:
Having one bean implementation class derived from another like this:
/**
 * @ejb.bean type="Stateless" name="hwtest/Test" jndi-name="hwtest/Test"
 */
public class TestBean extends HelloBean implements SessionBean
{ ... }

xdoclet 1.2 needs an explicit @ejb.home tag with the default values - otherwise it 
will generate
  public interface TestHome extends foo.HelloHome
and
  public interface TestLocalHome extends foo.HelloLocalHome
Both make no sense because of the duplicate create() method (just differing in the 
return type).

After adding the default values explicitly
 * @ejb.home extends="javax.ejb.EJBHome" local-extends="javax.ejb.EJBLocalHome"
you get the same code as with xdoclet 1.1:
  public interface TestHome extends javax.ejb.EJBHome
  public interface TestLocalHome extends javax.ejb.EJBLocalHome



---------------------------------------------------------------------
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 sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to