public final class RemoteConstants extends Object
RemoteConstants
and the
OSGI 4.2
Remote Service Admin specification (chap 122).Modifier and Type | Field and Description |
---|---|
static String |
DISCOVERY_DEFAULT_SERVICE_NAME_PREFIX
ECF service name default prefix.
|
static String |
DISCOVERY_NAMING_AUTHORITY
ECF discovery naming authority property.
|
static String |
DISCOVERY_PROTOCOLS
ECF discovery protocols property.
|
static String |
DISCOVERY_SCOPE
ECF discovery scope property.
|
static String |
DISCOVERY_SERVICE_NAME
ECF discovery service name property.
|
static String |
DISCOVERY_SERVICE_PRIORITY |
static String |
DISCOVERY_SERVICE_TTL |
static String |
DISCOVERY_SERVICE_TYPE
ECF discovery service type for Remote Service Admin.
|
static String |
DISCOVERY_SERVICE_WEIGHT |
static String |
ENDPOINT_CONNECTTARGET_ID
Optional ECF
EndpointDescription property (with value of type
String) that defines a connect target ID. |
static String |
ENDPOINT_CONTAINER_ID_NAMESPACE
ECF
EndpointDescription property (with value of type String) that
defines the unique Namespace name. |
static String |
ENDPOINT_ID
ECF
EndpointDescription property (with value of type String) that
defines the ecf endpoint id (typically the container id). |
static String |
ENDPOINT_IDFILTER_IDS
Optional ECF
EndpointDescription property (with value of type
String+) that defines one or more IDs used for filtering remote service
references during
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
. |
static String |
ENDPOINT_REMOTESERVICE_FILTER
Optional ECF
EndpointDescription property (with value of type
String), that defines a remote services properties filter used during
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
. |
static String |
ENDPOINT_TIMESTAMP
ECF
EndpointDescription property (with value of type Long) that
defines a service timestamp set upon initial export of the remote
service. |
static String |
OSGI_CONTAINER_ID_NS |
static String |
OSGI_ENDPOINT_MODIFIED |
static String |
SERVICE_EXPORTED_ASYNC_INTERFACES
Service property marking the service for async proxy export.
|
static String |
SERVICE_EXPORTED_CONTAINER_CONNECT_CONTEXT
Container connect context for exported remote service hosts.
|
static String |
SERVICE_EXPORTED_CONTAINER_FACTORY_ARGS
Container factory arguments for exported remote service hosts.
|
static String |
SERVICE_EXPORTED_CONTAINER_ID
Container ID of the target host container for remote service export.
|
static String |
SERVICE_IMPORTED_ENDPOINT_ID
This property is set on the remote service proxy during
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
, before local service proxy registration. |
static String |
SERVICE_IMPORTED_ENDPOINT_SERVICE_ID
This property is set on the remote service proxy during
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
, before local service proxy registration. |
static String |
SERVICE_IMPORTED_VALUETYPE
Allows exporting ECF containers to determine the type of value associated
with the
RemoteConstants.SERVICE_IMPORTED
property on the OSGi remote service consumer. |
public static final String DISCOVERY_SERVICE_TYPE
IServiceTypeID.getServices()
.public static final String DISCOVERY_SCOPE
IServiceInfoFactory
during
IServiceInfoFactory#createServiceInfo(org.eclipse.ecf.discovery.IDiscoveryAdvertiser, EndpointDescription)
to create an IServiceTypeID
via
IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, String[], String[], String[], String)
. The scopes value determines the third parameter. If not explicitly set,
the IServiceTypeID.DEFAULT_SCOPE
is used.public static final String DISCOVERY_PROTOCOLS
IServiceInfoFactory
during
IServiceInfoFactory#createServiceInfo(org.eclipse.ecf.discovery.IDiscoveryAdvertiser, EndpointDescription)
to create an IServiceTypeID
via
IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, String[], String[], String[], String)
. The protocols value determines the fourth parameter. If not explicitly
set, the IServiceTypeID.DEFAULT_PROTO
is used.public static final String DISCOVERY_NAMING_AUTHORITY
IServiceInfoFactory
during
IServiceInfoFactory#createServiceInfo(org.eclipse.ecf.discovery.IDiscoveryAdvertiser, EndpointDescription)
to create an IServiceTypeID
via
IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, String[], String[], String[], String)
. The protocols value determines the fifth parameter. If not explicitly
set, the IServiceTypeID.DEFAULT_NA
is used.public static final String DISCOVERY_SERVICE_NAME
IServiceInfoFactory
during
IServiceInfoFactory#createServiceInfo(org.eclipse.ecf.discovery.IDiscoveryAdvertiser, EndpointDescription)
to create an IServiceInfo
with a given name. The default is a
globally unique identifier. Note that if this value is explicitly set,
care should be taken to not have the name conflict with other remote
service names.public static final String DISCOVERY_DEFAULT_SERVICE_NAME_PREFIX
public static final String DISCOVERY_SERVICE_TTL
public static final String DISCOVERY_SERVICE_PRIORITY
public static final String DISCOVERY_SERVICE_WEIGHT
public static final String ENDPOINT_CONTAINER_ID_NAMESPACE
EndpointDescription
property (with value of type String) that
defines the unique Namespace
name.
If present in the EndpointDescription
, the value will be used to
create the containerID for accessing a remote service. The Namespace name
is optional because typically the ID protocol specifier (e.g. 'ecftcp' in
ID with name: 'ecftcp://localhost:3282/server') can be used to
unambiguously determine the appropriate
Namespace
used to create the
container ID for remote service import.public static final String ENDPOINT_ID
EndpointDescription
property (with value of type String) that
defines the ecf endpoint id (typically the container id).public static final String ENDPOINT_TIMESTAMP
EndpointDescription
property (with value of type Long) that
defines a service timestamp set upon initial export of the remote
service.public static final String ENDPOINT_CONNECTTARGET_ID
EndpointDescription
property (with value of type
String) that defines a connect target ID. If set/non-null
,
this property can be used by remote service consumers to connect to a
specific container, and access a remote service exposed by some
other member of the group.public static final String ENDPOINT_IDFILTER_IDS
EndpointDescription
property (with value of type
String+) that defines one or more IDs used for filtering remote service
references during
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
.public static final String ENDPOINT_REMOTESERVICE_FILTER
EndpointDescription
property (with value of type
String), that defines a remote services properties filter used during
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
.public static final String SERVICE_EXPORTED_CONTAINER_FACTORY_ARGS
HostContainerSelector.selectHostContainers(org.osgi.framework.ServiceReference, Map, String[], String[], String[])
. The type of the value may be String, ID, or Object[]. The
IContainerFactory.createContainer method is then selected based upon the
type of the value...i.e.
IContainerFactory.createContainer(org.eclipse.ecf.core.ContainerTypeDescription, String)
,
IContainerFactory.createContainer(org.eclipse.ecf.core.identity.ID)
, or IContainerFactory.createContainer(String, Object[])
, and the
value is passed in for container creation.public static final String SERVICE_EXPORTED_CONTAINER_CONNECT_CONTEXT
HostContainerSelector.selectHostContainers(org.osgi.framework.ServiceReference, Map, String[], String[], String[])
. The type of the value is IConnectContext
.public static final String SERVICE_EXPORTED_CONTAINER_ID
HostContainerSelector.selectHostContainers(org.osgi.framework.ServiceReference, Map, String[], String[], String[])
. The type of the value is ID.public static final String SERVICE_EXPORTED_ASYNC_INTERFACES
RemoteConstants.SERVICE_EXPORTED_INTERFACES
. The single value of an asterisk ("*", \u002A) indicates
all the interface types under which the service was exported.
The interfaces in the String[] can either be
RemoteConstants.SERVICE_EXPORTED_INTERFACES
property
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 String SERVICE_IMPORTED_VALUETYPE
RemoteConstants.SERVICE_IMPORTED
property on the OSGi remote service consumer. For ECF, the default value
type is IRemoteService
. If set to some other value (e.g.
Boolean
by the exporting host container, then consumers can use
the SERVICE_IMPORTED value appropriately.public static final String SERVICE_IMPORTED_ENDPOINT_ID
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
, before local service proxy registration. It's String value is set to
the value returned from
EndpointDescription.getId()
.
It allows those accessing the remote service proxy to get information
about the endpoint id.public static final String SERVICE_IMPORTED_ENDPOINT_SERVICE_ID
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)
, before local service proxy registration. It's Long value is set to the
value returned from
EndpointDescription.getServiceId()
. It allows those accessing the remote service proxy to get information
about the endpoint remote service id.public static final String OSGI_ENDPOINT_MODIFIED
public static final String OSGI_CONTAINER_ID_NS
Copyright © 2017 Eclipse Foundation. All rights reserved.