This content has been marked as final.
Show 3 replies
-
1. Re: JIRA: Multiple @Roles Feature Request (64)
christian.bauer Sep 24, 2005 12:47 PM (in response to jpaagt)Seam components are plain Java classes. The rule is simple: if you don't access the annotations, you don't need to have the annotation libraries (in this case Seam) on your classpath.
-
2. Re: JIRA: Multiple @Roles Feature Request (64)
hookomjj Sep 25, 2005 8:19 PM (in response to jpaagt)"christian.bauer@jboss.com" wrote:
Seam components are plain Java classes. The rule is simple: if you don't access the annotations, you don't need to have the annotation libraries (in this case Seam) on your classpath.
Not that this is the best place for debate, but think @Role isn't such a good idea when you can simply outject components that exist within the scope you wish to operate on. You really have to take a look at the component concept in a much larger scope and how object relate. The solution isn't to simply aggregate everything as @Role would promote.
-- Jacob (Facelets/JSF EG) -
3. Re: JIRA: Multiple @Roles Feature Request (64)
gavin.king Sep 25, 2005 9:49 PM (in response to jpaagt)Jacob and I continue to disagree on this issue. As long as there are a "small" number of roles (2, perhaps 3), I don't see any problem at all with @Role.