[jboss-user] [JBoss Tools (users)] - Seam Validator not recognising component class
atorble
do-not-reply at jboss.com
Thu Feb 26 06:54:20 EST 2009
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#4213301
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213301
More information about the jboss-user
mailing list