?? ComponentConstants
@ProviderType
public interface ComponentConstants
Defines standard names for Service Component constants.
-
????
????????????static final String
Capability name for Service Component Runtime.static final String
A service registration property for a Component Factory that contains the value of thefactory
attribute.static final String
A component property that contains the generated id for a component configuration.static final String
A component property for a component configuration that contains the name of the component as specified in thename
attribute of thecomponent
element.static final String
Compile time constant for the Specification Version of Declarative Services.static final int
The component configuration was deactivated because the bundle was stopped.static final int
The component configuration was deactivated because its configuration was deleted.static final int
The component configuration was deactivated because its configuration was changed.static final int
The component configuration was deactivated because the component was disabled.static final int
The component configuration was deactivated because the component was disposed.static final int
The component configuration was deactivated because a reference became unsatisfied.static final int
The reason the component configuration was deactivated is unspecified.static final String
The suffix for reference target properties.static final String
Manifest header specifying the XML documents within a bundle that contain the bundle's Service Component descriptions.
-
??????
-
SERVICE_COMPONENT
Manifest header specifying the XML documents within a bundle that contain the bundle's Service Component descriptions.The attribute value may be retrieved from the
Dictionary
object returned by theBundle.getHeaders
method.- ????:
-
COMPONENT_NAME
A component property for a component configuration that contains the name of the component as specified in thename
attribute of thecomponent
element. The value of this property must be of typeString
.- ????:
-
COMPONENT_ID
A component property that contains the generated id for a component configuration. The value of this property must be of typeLong
.The value of this property is assigned by Service Component Runtime when a component configuration is created. Service Component Runtime assigns a unique value that is larger than all previously assigned values since Service Component Runtime was started. These values are NOT persistent across restarts of Service Component Runtime.
- ????:
-
COMPONENT_FACTORY
A service registration property for a Component Factory that contains the value of thefactory
attribute. The value of this property must be of typeString
.- ????:
-
REFERENCE_TARGET_SUFFIX
The suffix for reference target properties. These properties contain the filter to select the target services for a reference. The value of this property must be of typeString
.- ????:
-
DEACTIVATION_REASON_UNSPECIFIED
static final int DEACTIVATION_REASON_UNSPECIFIEDThe reason the component configuration was deactivated is unspecified.- ???????:
- 1.1
- ????:
-
DEACTIVATION_REASON_DISABLED
static final int DEACTIVATION_REASON_DISABLEDThe component configuration was deactivated because the component was disabled.- ???????:
- 1.1
- ????:
-
DEACTIVATION_REASON_REFERENCE
static final int DEACTIVATION_REASON_REFERENCEThe component configuration was deactivated because a reference became unsatisfied.- ???????:
- 1.1
- ????:
-
DEACTIVATION_REASON_CONFIGURATION_MODIFIED
static final int DEACTIVATION_REASON_CONFIGURATION_MODIFIEDThe component configuration was deactivated because its configuration was changed.- ???????:
- 1.1
- ????:
-
DEACTIVATION_REASON_CONFIGURATION_DELETED
static final int DEACTIVATION_REASON_CONFIGURATION_DELETEDThe component configuration was deactivated because its configuration was deleted.- ???????:
- 1.1
- ????:
-
DEACTIVATION_REASON_DISPOSED
static final int DEACTIVATION_REASON_DISPOSEDThe component configuration was deactivated because the component was disposed.- ???????:
- 1.1
- ????:
-
DEACTIVATION_REASON_BUNDLE_STOPPED
static final int DEACTIVATION_REASON_BUNDLE_STOPPEDThe component configuration was deactivated because the bundle was stopped.- ???????:
- 1.1
- ????:
-
COMPONENT_CAPABILITY_NAME
Capability name for Service Component Runtime.Used in
Provide-Capability
andRequire-Capability
manifest headers with theosgi.extender
namespace. For example:Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.4)(!(version>=2.0)))"
- ???????:
- 1.3
- ????:
-
COMPONENT_SPECIFICATION_VERSION
Compile time constant for the Specification Version of Declarative Services.Used in
Version
andRequirement
annotations. The value of this compile time constant will change when the specification version of Declarative Services is updated.- ???????:
- 1.4
- ????:
-