Hi All, I've found a temporary solution ( I hope someone can come up with something better) If I use the fully qualified name in the EJB it'll work, can someone point me to a better solution? So I use something like this:
public net.aurium.PNF.States Constrain ( net.aurium.PNF.States current, Hashtable h) Thanks again, Oisin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Oisin Kim Sent: 04 February 2003 11:34 To: [EMAIL PROTECTED] Subject: [Xdoclet-user] Help with using inner classes with xdoclet Hi All, I've got a small problem with xdoclet not recognising public inner classes, if I import the outer class. I have an EJB "RelationEJB" which contains the import to a class PNF which has a public inner class called States. import net.aurium.PNF; And the method, with a public inner class as a param, PNF.States. /** * Ensure the Contraints if the relations are met * * @param current * @param h * @return the current <code>PNF.States</code> * @ejb.interface-method view-type="local" */ public PNF.States Constrain ( PNF.States current, Hashtable h) The xdoclet generated Local interface for this method looks as given below, as you can see the import has gone missing, all other classes are made to be their fully qualified names, like java.util.Hashtable, but xdoclet has seemed to miss the PNF.States. package net.aurium.scenario.data.interfaces; public interface RelationLocal extends javax.ejb.EJBLocalObject { /** * Ensure the Contraints if the relations are met * @param current the current PNF.States of the Consequent * @param h a <code>Hashtable</code> which contains a Interval to PNF.States mapping * @return the current <code>PNF.States</code> */ public PNF.States Constrain( PNF.States current,java.util.Hashtable h ) ; I've looked a bit and found that I can create the local interface by hand and then tell xdoclet not to generate new interfaces for this EJB, but that's not really nice, would anyone have any better ideas about what I'm doing wrong? My platform is: Xdocelet xdoclet-1.2b1 Windows 2000 Sun J2SDK 1.4.1_01 Sun J2SDKEE 1.3 Thanks in adance for any help with this, Oisin Oisin Kim Aurium Tel: +353 1 6611132 Fax: +353 1 6615200 e-mail: [EMAIL PROTECTED] web site: http://www.aurium.net ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
