--- Rafal Kedziorski <[EMAIL PROTECTED]> wrote:
> hi,
>
> I have this session bean:
>
> public class AccessBean extends
> AbstractAccessStatelessSessionBean
> implements SessionBean {
> ...
> }
>
> which extends this abstract session bean
>
> public abstract class
> AbstractAccessAdminSystemStatelessSessionBean
> extends
> AbstractAccessStatelessSessionBean {
> /**
> * Description of the Method
> *
> * @exception CreateException Description of
> the Exception
> */
> public void ejbCreate() throws CreateException
> {
> super.ejbCreate();
>
> logger.debug("ejbCreate() entered");
> }
>
>
> /**
> * Description of the Method
> *
> * @param user_id
> * @param group_id
> * @throws OMAException
> * @ejb.interface-method
> * view-type = "local"
> */
> public final void addUser2Group(Long user_id,
> Integer group_id)
> throws OMAException {
> // TODO check for the user
>
> // TODO check for the group
>
> // TODO add user to the group
> }
> }
>
> Why doxn't xdoclet add the method addUser2Group() to
> the local interface of
> my AccessBean?
Normaly there would be interface crfeate from your
abstract session bean, and implementer bean local
interface wuld extend it.
( and you method goes there ) ...
BUt because you base abstract session bean is not
SessionBean,
this does not happen. ...
( Of course I may be wrong - did not developed EJB for
more than a year... )
regards,
=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung.
Arbeitsort: Mainz
Skills: Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user