Message:

   The following issue has been re-assigned.

   Assignee: Matthias Germann (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1440

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1440
    Summary: local interface don't must throws java.rmi.Exception
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.3

   Assignee: Matthias Germann
   Reporter: Domenico Loiacono

    Created: Tue, 21 Jun 2005 9:49 AM
    Updated: Sun, 14 Aug 2005 3:03 AM

Description:
EJB local interface methods don't must throws java.rmi.RemoteException 
according to EJB specs.

If you annotate your SessionBean methods with:

@ejb.interface-method view-type="both"

and your methods throws an java.rmi.RemoteException, xdoclet generate a method 
for your Local Interface whith this exception in throws statement.

To solve problem local.xdt template should be traform in:

-   public <XDtMethod:methodType/> <XDtMethod:methodName/>( 
<XDtParameter:parameterList/> ) <XDtMethod:exceptionList"/>;

+   public <XDtMethod:methodType/> <XDtMethod:methodName/>( 
<XDtParameter:parameterList/> ) <XDtMethod:exceptionList 
skip="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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to