Bugs item #1087099, was opened at 2004-12-17 15:09
Message generated for change (Comment added) made by stevensa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402704&aid=1087099&group_id=31602
Category: ejbdoclet
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: KWK (kwk_kwk)
Assigned to: Nobody/Anonymous (nobody)
Summary: <container-transaction/> has wrong <ejb-name> at inheritance
Initial Comment:
The problem is.
I use EJB class who extends certain SUPER class who in
one's part implements certain interface.
Here is an example:
public interface MyInt {
public void test1 () throws RemoteException;
}
---------------------------------------------
public class MyImpl implements MyInt, SessionBean {
/**
* @ejb:interface-method
* @ejb:transaction type="Supports"
*/
public void test1 () {...}
}
---------------------------------------------
/**
* @ejb:bean
* name="pack.My"
* jndi-name="pack.My"
* local-jndi-name="pack.MyLocal"
* type="Stateless" transaction-type="Container"
* view-type="both"
* @ejb:interface extends="pack.MyInt,
javax.ejb.EJBObject"
* local-extends="javax.ejb.EJBLocalObject"
* @ejb:home extends="javax.ejb.EJBHome" local-
extends="javax.ejb.EJBLocalHome"
*/
public class MyEJB extends MyImpl {
/**
* @ejb:interface-method
* @ejb:transaction type="Supports"
*/
public void test2 ();
}
After generation next info appears in the ejb-jar.xml:
<container-transaction >
<method >
<ejb-name>MyImpl</ejb-name>
<method-intf>Remote</method-intf>
<method-name>test1</method-name>
<method-params>
</method-params>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
<container-transaction >
<method >
<ejb-name>pack.My</ejb-name>
<method-intf>Remote</method-intf>
<method-name>test2</method-name>
<method-params>
</method-params>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
I think you haven't presumed such a strange inheritance
structure but nevertheless it exists.
----------------------------------------------------------------------
Comment By: Andrew Stevens (stevensa)
Date: 2004-12-17 21:49
Message:
Logged In: YES
user_id=247081
The XDoclet team has decided to record all new issues in JIRA
instead of SourceForge's issue tracker.
We have therefore rejected your issue, and kindly request you to
re-enter it in JIRA:
http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa
You will have to sign up for an account before you can enter
anything in JIRA. Signing up is free, and your user
name/password/email will not be disclosed to anyone.
Kind Regards,
the XDoclet team.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402704&aid=1087099&group_id=31602
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel