On Wednesday 13 Aug 2003 07:57, Jean-philippe VIGNIEL wrote:
> Thanks for your answer.
> I think i've not correcltly explained what i want to do. I would like to
> add persistent members accessors of an entity bean to its interface.
>
> I've already tried to add the ejb.interface-method to a persistent
> member definition, but it doesn't work. Indeed, if I write the following
> code
>
> class ABean {
>
> /**
> * @ejb.interface-method
> * @ejb.persistence
> *
> * */
> public abstract String getId();
> public abstract void setId(String id);
> }
>
> The getId and setId methods are not added to the A or ALocal interfaces.
>
> Any idea to do that?
The
view-type="local"
parameter on the @ejb.interface-method specifies to add it to the Local
interface only - make sure you have that local specified. The default is
"remote"
--
Andy
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user