public enum CollectionType extends Enum<CollectionType>
Enum Constant and Description |
---|
BINDER_BEAN_SERVICE_OBJECTS
Used to indicate the reference is a binder for registering handler
methods for tracking bean service objects.
|
BINDER_REFERENCE
Used to indicate the reference is a binder for registering handler
methods for tracking service references.
|
BINDER_SERVICE
Used to indicate the reference is a binder for registering handler
methods for tracking service instances.
|
PROPERTIES
The properties collection type is used to indicate the collection holds
unmodifiable Maps containing the service properties of the bound
services.
|
REFERENCE
The reference collection type is used to indicate the collection holds
Service References for the bound services.
|
SERVICE
The service collection type is used to indicate the collection holds the
bound service objects.
|
SERVICEOBJECTS
The serviceobjects collection type is used to indicate the collection
holds Component Service Objects for the bound services.
|
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 in
PROPERTIES , and whose value is the bound service object. |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CollectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionType SERVICE
This is the default collection type.
public static final CollectionType REFERENCE
public static final CollectionType SERVICEOBJECTS
public static final CollectionType PROPERTIES
The Maps must implement Comparable
with the compareTo
method comparing service property maps using the same ordering as
ServiceReference.compareTo
based upon service ranking and service
id.
public static final CollectionType TUPLE
PROPERTIES
, and whose value is the bound service object.
The Map.Entries must implement Comparable
with the
compareTo
method comparing service property maps using the same
ordering as ServiceReference.compareTo
based upon service ranking
and service id.
public static final CollectionType BINDER_SERVICE
public static final CollectionType BINDER_REFERENCE
public static final CollectionType BINDER_BEAN_SERVICE_OBJECTS
public static CollectionType[] values()
for (CollectionType c : CollectionType.values()) System.out.println(c);
public static CollectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CollectionType>
Copyright © 2019 The Apache Software Foundation. All rights reserved.