public class RemoteConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENDPOINT_FRAMEWORK_UUID
Endpoint property identifying the universally unique id of the exporting
framework.
|
static java.lang.String |
ENDPOINT_ID
Endpoint property identifying the id for this endpoint.
|
static java.lang.String |
ENDPOINT_PACKAGE_VERSION_
Prefix for an endpoint property identifying the interface Java package
version for an interface.
|
static java.lang.String |
ENDPOINT_SERVICE_ID
Endpoint property identifying the service id of the exported service.
|
static java.lang.String |
REMOTE_CONFIGS_SUPPORTED
Service property identifying the configuration types supported by a
distribution provider.
|
static java.lang.String |
REMOTE_INTENTS_SUPPORTED
Service property identifying the intents supported by a distribution
provider.
|
static java.lang.String |
SERVICE_EXPORTED_CONFIGS
Service property identifying the configuration types that should be used
to export the service.
|
static java.lang.String |
SERVICE_EXPORTED_INTENTS
Service property identifying the intents that the distribution provider
must implement to distribute the service.
|
static java.lang.String |
SERVICE_EXPORTED_INTENTS_EXTRA
Service property identifying the extra intents that the distribution
provider must implement to distribute the service.
|
static java.lang.String |
SERVICE_EXPORTED_INTERFACES
Service property marking the service for export.
|
static java.lang.String |
SERVICE_IMPORTED
Service property identifying the service as imported.
|
static java.lang.String |
SERVICE_IMPORTED_CONFIGS
Service property identifying the configuration types used to import the
service.
|
static java.lang.String |
SERVICE_INTENTS
Service property identifying the intents that this service implement.
|
public static final java.lang.String REMOTE_CONFIGS_SUPPORTED
The value of this property must be of type String
,
String[]
, or Collection
of String
.
public static final java.lang.String REMOTE_INTENTS_SUPPORTED
The value of this property must be of type String
,
String[]
, or Collection
of String
.
public static final java.lang.String SERVICE_EXPORTED_CONFIGS
This property may be supplied in the properties
Dictionary
object passed to the
BundleContext.registerService
method. The value of this property
must be of type String
, String[]
, or Collection
of String
.
public static final java.lang.String SERVICE_EXPORTED_INTENTS
This property may be supplied in the properties
Dictionary
object passed to the
BundleContext.registerService
method. The value of this property
must be of type String
, String[]
, or Collection
of String
.
public static final java.lang.String SERVICE_EXPORTED_INTENTS_EXTRA
service.exported.intents
property before the
distribution provider interprets the listed intents; it has therefore the
same semantics but the property should be configurable so the
administrator can choose the intents based on the topology. Bundles
should therefore make this property configurable, for example through the
Configuration Admin service.
This property may be supplied in the properties
Dictionary
object passed to the
BundleContext.registerService
method. The value of this property
must be of type String
, String[]
, or Collection
of String
.
public static final java.lang.String SERVICE_EXPORTED_INTERFACES
'*'
\u002A) indicates all the interface
types under which the service was registered excluding the non-interface
types. It is strongly recommended to only export interface types and not
concrete classes due to the complexity of creating proxies for some type
of concrete classes.
This property may be supplied in the properties
Dictionary
object passed to the
BundleContext.registerService
method. The value of this property
must be of type String
, String[]
, or Collection
of String
.
public static final java.lang.String SERVICE_IMPORTED
The value of this property may be of any type.
public static final java.lang.String SERVICE_IMPORTED_CONFIGS
The value of this property must be of type String
,
String[]
, or Collection
of String
.
SERVICE_EXPORTED_CONFIGS
,
Constant Field Valuespublic static final java.lang.String SERVICE_INTENTS
String
,
String[]
, or Collection
of String
.public static final java.lang.String ENDPOINT_ID
The value of this property must be of type String
.
public static final java.lang.String ENDPOINT_SERVICE_ID
The value of this property must be of type Long
.
public static final java.lang.String ENDPOINT_FRAMEWORK_UUID
The value of this property must be of type String
.
public static final java.lang.String ENDPOINT_PACKAGE_VERSION_
endpoint.package.version.com.acme=1.3
describes the version of
the package for the com.acme.Foo
interface. This endpoint
property for an interface package does not have to be set. If not set,
the value must be assumed to be 0.
Since endpoint properties are stored in a case insensitive map, case variants of a package name are folded together.
The value of properties having this prefix must be of type String
.
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0