Good Idea - never had it, but could use it too...
Ferran: For the moment you could simply hardcode it into your template.
use the following subtask:
<!-- create home interfaces -->
<homeinterface templatefile="${tmpl.home}">
</homeinterface>
where templatefile discribes path and name to your adjusted template.
You can find the original template in the source release, or cvs, or
a jar file, depending on the version you are currently using.
Template name should be: home.xdt (might have been home.j)
Dirk
07.06.02 13:33:35, "Ara Abrahamian" <[EMAIL PROTECTED]> wrote:
>While I was developing this inheritance feature I thought ejbCreate is
>one of those un-inheritable methods, because of the return type and it
>seemed to me like putting a static getInstance method in a base class
>and trying to override that static method :-) But anyway, we can make it
>smarter and handle this case too.
>
>Ara.
>
>> [EMAIL PROTECTED]] On Behalf Of Ferran Puig
>> We're having a similar problem.
>> we have a group of Beans which inherit from a generic bean which has
>the
>> create method, because the create method has the same signature for
>all
>> Beans.
>> We want to generate the Home interface, but the generated interface
>> hasn't
>> the create method (I suppose that is due to the fact that the
>signature of
>> the
>> create method in the home interface should be different for each
>Bean).
>> We've tried to put the @ejb:create-method in the parent of the beans,
>but
>> it
>> doen't work. Any hint about it?
>>
>> Thanks in advance.
>> Ferran.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user