The following issue has been updated:

    Updater: Andrew Stevens (mailto:[EMAIL PROTECTED])
       Date: Tue, 31 May 2005 6:32 PM
    Changes:
             assignee changed to xdoclet-devel (Use for new issues)
             description changed from import from SF:
https://sourceforge.net/tracker/index.php?func=detail&aid=607960&group_id=31602&atid=402704
 to import from SF:
https://sourceforge.net/tracker/index.php?func=detail&aid=607960&group_id=31602&atid=402704


When I define a convenience method like "addStudent"
below, only the first one is generated into the remote /
local interfaces. Is this a problem or am I not following
the expected pattern for writing interface methods?

*** MY SLSB CLASS

/**
* @ejb:interface-method view-type="both"
* @ejb:permission role-name="user"
*/
public void addStudent(Student student)
throws NamingException,
CreateException,
RemoteException {
addStudent(student.getUid());
}

/**
* @ejb:interface-method view-type="both"
* @ejb:permission role-name="user"
*/
public void addStudent(Integer studentUid)
throws NamingException,
CreateException,
RemoteException {
// real business code here
}

*** GENERATED REMOTE INTERFACE

public void addStudent( Student student ) throws
javax.naming.NamingException,
javax.ejb.CreateException, java.rmi.RemoteException;

             timeoriginalestimate changed from 0
             timeestimate changed from 0 minutes
             Component changed to EJB Module
             Component changed from Web Module
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-97?page=history

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-97
    Summary: [ 607960 ] interface-method overload ignored
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Konstantin Pribluda

    Created: Mon, 21 Oct 2002 7:36 AM
    Updated: Tue, 31 May 2005 6:32 PM

Description:
import from SF:
https://sourceforge.net/tracker/index.php?func=detail&aid=607960&group_id=31602&atid=402704


When I define a convenience method like "addStudent"
below, only the first one is generated into the remote /
local interfaces. Is this a problem or am I not following
the expected pattern for writing interface methods?

*** MY SLSB CLASS

/**
* @ejb:interface-method view-type="both"
* @ejb:permission role-name="user"
*/
public void addStudent(Student student)
throws NamingException,
CreateException,
RemoteException {
addStudent(student.getUid());
}

/**
* @ejb:interface-method view-type="both"
* @ejb:permission role-name="user"
*/
public void addStudent(Integer studentUid)
throws NamingException,
CreateException,
RemoteException {
// real business code here
}

*** GENERATED REMOTE INTERFACE

public void addStudent( Student student ) throws
javax.naming.NamingException,
javax.ejb.CreateException, java.rmi.RemoteException;



---------------------------------------------------------------------
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 Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to