> So essentially you're saying to do it manually. I'd have to create a
> special interface for each local home interface to extend. I guess the
> easier manual way is to do it by overriding the method and delegating to
> super, that way I can still utilize xdoclet tags.

yep, thats all I was suggesting.

You could create a custom template that put all untagged methods that were
declared public in the interface, or something like that - that might be
more what you're after.... but its a sledgehammer approach...

cheers
dim

>
> Thanks,
> -ryan
>
> On Mon, 2002-07-15 at 17:18, Dmitri Colebatch wrote:
> > You could create another interface that represents the methods in the
> > superclass, and then have the local interface include that in its
extends
> > clause.
> >
> > hth
> > dim
> >
> > ----- Original Message -----
> > From: "Ryan Marsh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 16, 2002 5:46 AM
> > Subject: [Xdoclet-user] phantom interface methods
> >
> >
> > > I have an abstract class (we'll call it AbstractEJB.java) which all of
> > > my entity beans extend. It has some basic features that I would like
all
> > > of my entity beans to exhibit. One example is an ejbCreate(String
uuid)
> > > method.
> > >
> > > Lets say I create SomeBean.java (to be processed by xdoclet) which
> > > subclasses AbstractEJB.java. A problem arises because I want a method
> > > defined in the parent class (AbstractEJB) to show up in the interfaces
> > > that Xdoclet generates for SomeBean *BUT* I don't want to override the
> > > implementation of AbstractEJB's methods when I redefine the method in
> > > SomeBean simply so that xdoclet sees it and the @ejb:create-method
tag.
> > >
> > > So essentially I want to tag up a method defined in a superclass
without
> > > overridding its implementation. Any ideas?
> > >
> > > -ryan
> > > --
> > > Humans are the unfortunate result of a local maximum in the
> > > fitness landscape.
> > >
> > > www.ryanmarsh.com
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> --
> Humans are the unfortunate result of a local maximum in the
> fitness landscape.
>
> www.ryanmarsh.com
>



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to