开发者

How to use Restrict annotation and tag properly

I would like to use @Restrict in seam application. One of my scenario contains a series of 开发者_运维问答actions. Do i need to restrict each and every action or only the starting action? All the actions except first is invoked from first action.


If they are private methods then you don't need to restrict them. However, if they are public methods, you should restrict them, because it is possible to call methods from the parameter.

If you annotate the class with the @Restrict annotation, then all the methods will be restricted.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜