Annotation Interface NormalScope


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface NormalScope

Specifies that an annotation type is a normal scope type.

See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Determines whether the normal scope type is a passivating scope.
  • Element Details

    • passivating

      boolean passivating

      Determines whether the normal scope type is a passivating scope.

      A bean is called passivation capable if the container is able to temporarily transfer the state of any idle instance to secondary storage. A passivating scope requires that beans with the scope are passivation capable.

      Returns:
      true if the scope type is a passivating scope type
      Default:
      false