Annotation Interface FacesBehavior


The presence of this annotation on a class automatically registers the class with the runtime as a Behavior. The value of this annotation attribute is taken to be the behavior-id with which instances of this class of behavior can be instantiated by calling Application.createBehavior(java.lang.String)

Since:
2.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the FacesBehavior qualifier.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The value of this annotation attribute is taken to be the behavior-id with which instances of this class of behavior can be instantiated.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    The value of this annotation attribute is taken to be an indicator that flags whether or not the given behavior is a CDI managed behavior.
  • Element Details

    • value

      String value
      The value of this annotation attribute is taken to be the behavior-id with which instances of this class of behavior can be instantiated.
      Returns:
      the behavior-id
    • managed

      boolean managed

      The value of this annotation attribute is taken to be an indicator that flags whether or not the given behavior is a CDI managed behavior.

      Returns:
      true if CDI managed, false otherwise.
      Default:
      false