The following comment has been added to this issue:
Author: Andrew Stevens
Created: Thu, 20 Jan 2005 5:36 PM
Body:
I've had a brief look through it, before things turned hectic at work. Maybe
it's just personal taste, but I was thinking something more like the
remote/local interface templates & tags would be more consistent (and change
the existing template less) i.e. just add an "interface" parameter to
XDtEjbHome:ifIsHomeMethod so it can use
<XDtMethod:forAllMethods superclasses="false">
<XDtEjbHome:ifIsHomeMethod interface="local">
<XDtMethod:methodComment indent="3"/>
public <XDtMethod:methodType/>
<XDtEjbIntf:interfaceMethodName/>(<XDtParameter:parameterList/>)
<XDtMethod:exceptionList/>;
</XDtEjbHome:ifIsHomeMethod>
</XDtMethod:forAllMethods>
in home-local.xdt and likewise
<XDtEjbHome:ifIsHomeMethod interface="remote">
in home.xdt. I haven't had time to try coding that yet, though.
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1153?page=comments#action_15716
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1153
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1153
Summary: view-type value for ejb.home-method has no effect
Type: Bug
Status: Open
Priority: Critical
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
EJB Module
Versions:
1.2
1.2.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Hilmar Lapp
Created: Sat, 13 Nov 2004 3:14 AM
Updated: Thu, 20 Jan 2005 5:36 PM
Environment: Mac OSX 10.2 and 10.3, JDK 1.4.1 and 1.4.2, ant 1.5.1 and 1.6.2
Description:
The value for the view-type attribute of the @ejb.home-method tag has no
effect. The method will always be exposed in both the remote home and local
home interface.
An actual example for this in the distribution. The test.ejb.AccountBean under
the samples directory has a home method public void
ejbHomeTransfer(Account,Account,float) with a tag
/** @ejb.home-method view-type="remote" */
The corresponding stub public void transfer(Account,Account,float) is created
in both the local home as well as the remote home interface.
---------------------------------------------------------------------
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: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel