I think that you don't understand interfaces and inheritance in Java. Java has type inheritance. If a class impliments an interface then the interface becomes part of the class's type. When you subclass that class all of it's super-classes and super-interfaces are inherited. This is basic to the Java language. Check any good book on Java. The following link to an article on interfaces might help.
http://www.javaworld.com/javaworld/jw-12-1998/jw-12-techniques.html Regards Richard Sami Lempinen wrote: > Greetings! > > I read back the list archives a little, and found some discussion > about the subject, but no clear resolution. I apologise if the matter > is already clear. > > I have a base class for all session beans that provides certain > standard services to child classes (logging etc.), defined as > > public abstract class GenericSessionBean implements SessionBean > > I then have other session beans that extend this base class, such as > > public class PropertyManagerBean extends GenericSessionBean > implements SessionBean > > By default, Xdoclet seems to have the interfaces generated from > PropertyManagerBean extend the interfaces in GenericSessionBean, which > is not what I want. I only want the bean implementation extended, not > the interfaces, since this generates other problems related to the > create method signatures etc. > > I tried the suggested @ejb.bean generate="false" in > GenericSessionBean, to no avail. The only way to achive what I want is > to remove the "implements SessionBean" from GenericSessionBean, which > seems a little suspect. > > Is there way to extend only the implementation and not the interfaces? > > Thanks! > > -Sami > > -- > [EMAIL PROTECTED] > VHF: Ilmaris / OG 9799 > GSM: +358504876750 > http://lempinen.net/veneveppi/ > > ------------------------------------------------------- > 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
