I have a specialized Identity component which is configured thus:
| @Name("org.jboss.seam.security.identity")
| @Scope(SESSION)
| @Install(precedence=APPLICATION)
| @Startup
| public class MyIdentity extends Identity {
| ...
| }
|
Within this class I have a method which is annotated @Observer("myEvent")
Seam Validator doesn't like this and announces an error: "Only component class
can have @Observer method ..."
The class compiles ok and runs as expected (i.e. the @Observer method is called)
Is this a bug or is there something wrong with my configuration?
TIA
Andy
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213301#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...