Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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

    @Target(value={FIELD,METHOD})
    @Retention(value=RUNTIME)
    @Documented
    public @interface In

Specifies that a seam component should be injected to the annotated field or setter method of a seam component.

Author:
  Gavin King

Optional Element Summary
`boolean` | `create` Specifies that a component should be instantiated if the context variable is null.
`boolean` | `required` Specifies that the injected value must not be null, by default.
`ScopeType` | `scope` Explicitly specify the scope to search, instead of searching all scopes.
`String` | `value` The context variable name.

### value

    public abstract String value

  The context variable name. Defaults to the name of the annotated field or getter method.

  Default:
    ""

### create

    public abstract boolean create

  Specifies that a component should be instantiated if the context variable is null.

  Default:
    false

### required

    public abstract boolean required

  Specifies that the injected value must not be null, by default.

  Default:
    true

### scope

    public abstract ScopeType scope

  Explicitly specify the scope to search, instead of searching all scopes.

  Default:
    UNSPECIFIED

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT