[seam-dev] note about UserSearch component
Shane Bryzak
shane.bryzak at jboss.com
Mon Apr 14 22:36:27 EDT 2008
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;
>
>
More information about the seam-dev
mailing list