[jboss-user] [JBoss Seam] - Re: @Observer annotation should have a scope attribute
dhinojosa
do-not-reply at jboss.com
Sat Nov 17 12:22:18 EST 2007
Looks easy....
Just wondering wouldn't that make it an inconsistent look and feel from the way we have other annotations in seam like...
| @Factory(value="pattern", scope=ScopeType.EVENT)
| public String getSearchPattern()
| {
| return searchString==null ?
| "%" : '%' + searchString.toLowerCase().replace('*', '%') + '%';
| }
|
Or is the idea that any annotation that has scope=* is meant purely to map components not to listen to them or provide any other behaviors.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105770#4105770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105770
More information about the jboss-user
mailing list