Good point, Dan. I can't remember why I added this, anyway I've removed
it now.
Dan Allen wrote:
@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;