--- julien viet <[EMAIL PROTECTED]> wrote:
> hi,
> 
> I have one problem with permission method
> generation.
> I have a method with an argument which is an object
> from my project and xdoclet does not generate the
> right method-permission.
> 
> my method on FacadeEJB is like
> 
> /**
>  * @ejb:interface-method
>  * @ejb:permission
>  *    unchecked="true"
>  */
> public void business(SomeObject object) ...
> 
> it generates
> 
>    <method-permission >
>       <description></description>
>       <unchecked/>
>       <method >
>          <description></description>
>          <ejb-name>FacadeEJB</ejb-name>
>          <method-intf>Local</method-intf>
>          <method-name>business</method-name>
>          <method-params>
>             <method-param>SomeObject</method-param>
>          </method-params>
>       </method>
>    </method-permission>
> 
> the package name is stripped and therefore that
> permission is incorrect.
> 
> However if I set the fqn for SomeObject in the
> method
> :
> 
> /**
>  * @ejb:interface-method
>  * @ejb:permission
>  *    unchecked="true"
>  */
> public void business(somepackage.SomeObject object)
> ...
> 
> it goes well.
> 
> This is with xdoclet beta downloaded from
> sourceforge.

This is known feature. You have to use FQNs for
your xdoclet-generated classes. This is even mentioned
in the docs. 

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to