I haven't actually tried this, but it seems that it should be possible to use POJOs as seam components without annotating them with @Name and @Scope.
Just a simple: @In (value = "contextName") SomeClass context Name; Also, it would be nice to have the field's name used as the default for the context name, like so: @In SomeClass contextName ; Doing so would obviously eliminate the need for the @Name annotation. It would also be nice to eliminate the need for the @Scope [EMAIL PROTECTED] could take an optional "scope" parameter. By default, it will search for all scopes. I think this will also eliminate the need for the @Role/@Roles annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912689#3912689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912689 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user