@ProviderType public interface ComponentConstants
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_CAPABILITY_NAME
Capability name for Service Component Runtime.
|
static String |
COMPONENT_FACTORY
A service registration property for a Component Factory that contains the
value of the
factory attribute. |
static String |
COMPONENT_ID
A component property that contains the generated id for a component
configuration.
|
static String |
COMPONENT_NAME
A component property for a component configuration that contains the name
of the component as specified in the
name attribute of the
component element. |
static int |
DEACTIVATION_REASON_BUNDLE_STOPPED
The component configuration was deactivated because the bundle was
stopped.
|
static int |
DEACTIVATION_REASON_CONFIGURATION_DELETED
The component configuration was deactivated because its configuration was
deleted.
|
static int |
DEACTIVATION_REASON_CONFIGURATION_MODIFIED
The component configuration was deactivated because its configuration was
changed.
|
static int |
DEACTIVATION_REASON_DISABLED
The component configuration was deactivated because the component was
disabled.
|
static int |
DEACTIVATION_REASON_DISPOSED
The component configuration was deactivated because the component was
disposed.
|
static int |
DEACTIVATION_REASON_REFERENCE
The component configuration was deactivated because a reference became
unsatisfied.
|
static int |
DEACTIVATION_REASON_UNSPECIFIED
The reason the component configuration was deactivated is unspecified.
|
static String |
REFERENCE_TARGET_SUFFIX
The suffix for reference target properties.
|
static String |
SERVICE_COMPONENT
Manifest header specifying the XML documents within a bundle that contain
the bundle's Service Component descriptions.
|
static final String SERVICE_COMPONENT
The attribute value may be retrieved from the Dictionary
object
returned by the Bundle.getHeaders
method.
static final String COMPONENT_NAME
name
attribute of the
component
element. The value of this property must be of type
String
.static final String COMPONENT_ID
Long
.
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.
static final String COMPONENT_FACTORY
factory
attribute. The value of this property must
be of type String
.static final String REFERENCE_TARGET_SUFFIX
String
.static final int DEACTIVATION_REASON_UNSPECIFIED
static final int DEACTIVATION_REASON_DISABLED
static final int DEACTIVATION_REASON_REFERENCE
static final int DEACTIVATION_REASON_CONFIGURATION_MODIFIED
static final int DEACTIVATION_REASON_CONFIGURATION_DELETED
static final int DEACTIVATION_REASON_DISPOSED
static final int DEACTIVATION_REASON_BUNDLE_STOPPED
static final String COMPONENT_CAPABILITY_NAME
Used in Provide-Capability
and Require-Capability
manifest headers with the osgi.extender
namespace. For example:
Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.3)(!(version>=2.0)))"
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0