Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: xdoclet-devel (Use for new issues)
   Reporter: Domenico Loiacono

    Created: Tue, 21 Jun 2005 9:49 AM
    Updated: Tue, 21 Jun 2005 9:49 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: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to