Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1198 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1198 Summary: <container-transaction/> has wrong <ejb-name> when EJB extends some class Type: Bug Status: Open Priority: Critical Original Estimate: 15 minutes Time Spent: Unknown Remaining: 15 minutes Project: XDoclet Components: EJB Module Versions: 1.2.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Konstantin Kasatkin Created: Fri, 17 Dec 2004 9:27 AM Updated: Fri, 17 Dec 2004 9:27 AM Environment: JDK 1.4.2-05, Win2000Pro+SP4, Ant 1.5 Xdoclet 1.2 - 1.2.2 Description: 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> Look at first section, MyImpl placed here instead of pack.My, it is a very clear to understand. I think the developers haven't presumed such a strange inheritance structure but nevertheless it exists. --------------------------------------------------------------------- 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 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