java.lang.Object
java.lang.Enum<FieldOption>
org.osgi.service.component.annotations.FieldOption
????????:
Serializable, Comparable<FieldOption>

public enum FieldOption extends Enum<FieldOption>
Field options for the Reference annotation.
???????:
1.3
  • ????????

    • UPDATE

      public static final FieldOption UPDATE
      The update field option is used to update the collection referenced by the field when there are changes to the bound services.

      This field option can only be used when the field reference has dynamic policy and multiple cardinality.

    • REPLACE

      public static final FieldOption REPLACE
      The replace field option is used to replace the field value with a new value when there are changes to the bound services.
  • ??????