[seam-dev] note about UserSearch component

Dan Allen dan.j.allen at gmail.com
Mon Apr 14 22:30:51 EDT 2008


@Name("org.jboss.seam.security.management.userSearch")
@Scope(SESSION)
@Synchronized
public class UserSearch implements Serializable
{
}

Session-scoped components are synchronized by default.

from Component.java

boolean hasAnnotation = getBeanClass().isAnnotationPresent(Synchronized.class);
synchronize = ( scope==SESSION ) || hasAnnotation;

-- 
Dan Allen
Software consultant | Author of Seam in Action

http://www.mojavelinux.com
http://manning.com/dallen

NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.



More information about the seam-dev mailing list