?? ReferencePolicyOption
- ????????:
Serializable
,Comparable<ReferencePolicyOption>
Policy option for the
Reference
annotation.- ???????:
- 1.2
-
??????
???? -
????
??????????toString()
static ReferencePolicyOption
?????????????????? ??????????????????? ????????(?????? ??????)static ReferencePolicyOption[]
values()
???????????????, ??????????????
-
????????
-
RELUCTANT
The reluctant policy option is the default policy option for bothstatic
anddynamic
reference policies. When a new target service for a reference becomes available, references having the reluctant policy option for the static policy or the dynamic policy with a unary cardinality will ignore the new target service. References having the dynamic policy with a multiple cardinality will bind the new target service. -
GREEDY
-
-
??????
-
values
???????????????, ??????????????- ??:
- ???????????????????????????
-
valueOf
?????????????????? ??????????????????? ????????(?????? ??????)- ??:
name
- ????????????- ??:
- ?????????????
- ??:
IllegalArgumentException
- ??????????????????NullPointerException
- ???????
-
toString
- ??:
toString
???Enum<ReferencePolicyOption>
-