Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.jboss.seam.annotations
Annotation Type Role

    @Target(value=TYPE)
    @Retention(value=RUNTIME)
    @Documented
    public @interface Role

Specifies the name and scope role for a seam component role. If a component has no `@Role` annotation, it has exactly one role, defined by `@Name` and `@Scope`. If it has one or more `@Role` annotations, the component has one or more roles in addition to the default role defined by `@Name` and `@Scope`.

Author:
  César Izurieta

Required Element Summary
`String` | `name`

Optional Element Summary
`ScopeType` | `scope`

Element Detail

### name

    public abstract String name

### scope

    public abstract ScopeType scope

  Default:
    org.jboss.seam.ScopeType.UNSPECIFIED

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2012 Seam Framework. All Rights Reserved.