Package org.osgi.service.component
Interface ComponentConstants
-
@ProviderType public interface ComponentConstantsDefines standard names for Service Component constants.- Author:
- $Id: 624eb5610c2127d24ce76f16b3cc146cbcf6db57 $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_CAPABILITY_NAMECapability name for Service Component Runtime.static java.lang.StringCOMPONENT_FACTORYA service registration property for a Component Factory that contains the value of thefactoryattribute.static java.lang.StringCOMPONENT_IDA component property that contains the generated id for a component configuration.static java.lang.StringCOMPONENT_NAMEA component property for a component configuration that contains the name of the component as specified in thenameattribute of thecomponentelement.static intDEACTIVATION_REASON_BUNDLE_STOPPEDThe component configuration was deactivated because the bundle was stopped.static intDEACTIVATION_REASON_CONFIGURATION_DELETEDThe component configuration was deactivated because its configuration was deleted.static intDEACTIVATION_REASON_CONFIGURATION_MODIFIEDThe component configuration was deactivated because its configuration was changed.static intDEACTIVATION_REASON_DISABLEDThe component configuration was deactivated because the component was disabled.static intDEACTIVATION_REASON_DISPOSEDThe component configuration was deactivated because the component was disposed.static intDEACTIVATION_REASON_REFERENCEThe component configuration was deactivated because a reference became unsatisfied.static intDEACTIVATION_REASON_UNSPECIFIEDThe reason the component configuration was deactivated is unspecified.static java.lang.StringREFERENCE_TARGET_SUFFIXThe suffix for reference target properties.static java.lang.StringSERVICE_COMPONENTManifest header specifying the XML documents within a bundle that contain the bundle's Service Component descriptions.
-
-
-
Field Detail
-
SERVICE_COMPONENT
static final java.lang.String 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
Dictionaryobject returned by theBundle.getHeadersmethod.- See Also:
- Constant Field Values
-
COMPONENT_NAME
static final java.lang.String COMPONENT_NAME
A component property for a component configuration that contains the name of the component as specified in thenameattribute of thecomponentelement. The value of this property must be of typeString.- See Also:
- Constant Field Values
-
COMPONENT_ID
static final java.lang.String 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.
- See Also:
- Constant Field Values
-
COMPONENT_FACTORY
static final java.lang.String COMPONENT_FACTORY
A service registration property for a Component Factory that contains the value of thefactoryattribute. The value of this property must be of typeString.- See Also:
- Constant Field Values
-
REFERENCE_TARGET_SUFFIX
static final java.lang.String 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.- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_UNSPECIFIED
static final int DEACTIVATION_REASON_UNSPECIFIED
The reason the component configuration was deactivated is unspecified.- Since:
- 1.1
- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_DISABLED
static final int DEACTIVATION_REASON_DISABLED
The component configuration was deactivated because the component was disabled.- Since:
- 1.1
- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_REFERENCE
static final int DEACTIVATION_REASON_REFERENCE
The component configuration was deactivated because a reference became unsatisfied.- Since:
- 1.1
- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_CONFIGURATION_MODIFIED
static final int DEACTIVATION_REASON_CONFIGURATION_MODIFIED
The component configuration was deactivated because its configuration was changed.- Since:
- 1.1
- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_CONFIGURATION_DELETED
static final int DEACTIVATION_REASON_CONFIGURATION_DELETED
The component configuration was deactivated because its configuration was deleted.- Since:
- 1.1
- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_DISPOSED
static final int DEACTIVATION_REASON_DISPOSED
The component configuration was deactivated because the component was disposed.- Since:
- 1.1
- See Also:
- Constant Field Values
-
DEACTIVATION_REASON_BUNDLE_STOPPED
static final int DEACTIVATION_REASON_BUNDLE_STOPPED
The component configuration was deactivated because the bundle was stopped.- Since:
- 1.1
- See Also:
- Constant Field Values
-
COMPONENT_CAPABILITY_NAME
static final java.lang.String COMPONENT_CAPABILITY_NAME
Capability name for Service Component Runtime.Used in
Provide-CapabilityandRequire-Capabilitymanifest headers with theosgi.extendernamespace. For example:Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.3)(!(version>=2.0)))"
- Since:
- 1.3
- See Also:
- Constant Field Values
-
-