?? CollectionType
- ????????:
Serializable
,Comparable<CollectionType>
Collection types for the
Reference
annotation.- ???????:
- 1.4
-
??????
??????????The properties collection type is used to indicate the collection holds unmodifiable Maps containing the service properties of the bound services.The reference collection type is used to indicate the collection holds Service References for the bound services.The service collection type is used to indicate the collection holds the bound service objects.The serviceobjects collection type is used to indicate the collection holds Component Service Objects for the bound services.The tuple collection type is used to indicate the collection holds unmodifiable Map.Entries whose key is an unmodifiable Map containing the service properties of the bound service, as specified inPROPERTIES
, and whose value is the bound service object. -
????
??????????toString()
static CollectionType
?????????????????? ??????????????????? ????????(?????? ??????)static CollectionType[]
values()
???????????????, ??????????????
-
????????
-
SERVICE
The service collection type is used to indicate the collection holds the bound service objects.This is the default collection type.
-
REFERENCE
The reference collection type is used to indicate the collection holds Service References for the bound services. -
SERVICEOBJECTS
The serviceobjects collection type is used to indicate the collection holds Component Service Objects for the bound services. -
PROPERTIES
The properties collection type is used to indicate the collection holds unmodifiable Maps containing the service properties of the bound services.The Maps must implement
Comparable
with thecompareTo
method comparing service property maps using the same ordering asServiceReference.compareTo
based upon service ranking and service id. -
TUPLE
The tuple collection type is used to indicate the collection holds unmodifiable Map.Entries whose key is an unmodifiable Map containing the service properties of the bound service, as specified inPROPERTIES
, and whose value is the bound service object.The Map.Entries must implement
Comparable
with thecompareTo
method comparing service property maps using the same ordering asServiceReference.compareTo
based upon service ranking and service id.
-
-
??????
-
values
???????????????, ??????????????- ??:
- ???????????????????????????
-
valueOf
?????????????????? ??????????????????? ????????(?????? ??????)- ??:
name
- ????????????- ??:
- ?????????????
- ??:
IllegalArgumentException
- ??????????????????NullPointerException
- ???????
-
toString
- ??:
toString
???Enum<CollectionType>
-