This content has been marked as final.
Show 2 replies
-
1. Re: Calling @Destoy method fails on type safe annoted Session Beans on logout
cash1981 Apr 9, 2009 7:35 PM (in response to torsty)Yes I believe you can. When you annotate a role check on the class it will be applied on all methods. Instead, remove it from the class and add it on all the methods you like instead except the destroy method obviously.
-
2. Re: Calling @Destoy method fails on type safe annoted Session Beans on logout
torsty May 2, 2009 9:53 AM (in response to torsty)Thanks Shervin!
your way is certainly an option. Although I hoped to find a way to leave the annotation on Class Level because this is less error prone...