Annotation Type NormalScope


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

    Defines CDI scopes which have a well-defined lifecycle. Examples for such scopes are RequestScoped, SessionScoped and ApplicationScoped.

    Beans of such a scope will get a normalscoping proxy (Contextual Reference) for every injection.

    If a NormalScope is passivating then all it's Contextual Instances need to implement java.io.Serializable.

    Version:
    $Rev: 1667118 $ $Date: 2015-03-16 21:08:25 +0100 (Mon, 16 Mar 2015) $
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean passivating
      Defines passivation semantic
    • Element Detail

      • passivating

        boolean passivating
        Defines passivation semantic
        Default:
        false