| Package | Description |
|---|---|
| org.robokind.api.common.osgi.lifecycle | |
| org.robokind.api.common.services | |
| org.robokind.api.common.services.addon |
| Modifier and Type | Method and Description |
|---|---|
VersionProperty |
ConfiguredServiceParams.getConfigFormat() |
VersionProperty |
ConfiguredServiceParams.getServiceVersion() |
| Constructor and Description |
|---|
ConfiguredServiceParams(Class<T> serviceClass,
Class<C> configClass,
Class<P> paramClass,
C config,
P param,
String paramId,
VersionProperty serviceVersion,
VersionProperty configFormat) |
| Modifier and Type | Method and Description |
|---|---|
VersionProperty |
ServiceContext.getConfigFormat() |
VersionProperty |
ConfigurationLoader.getConfigurationFormat()
Specifies the Service Configuration Format version which can be loaded.
|
VersionProperty |
ConfigurationWriter.getConfigurationFormat()
Specifies the Service Configuration Format version to write.
|
VersionProperty |
ConfigurationAdapter.getConfigurationFormat() |
VersionProperty |
EmptyFactory.getServiceVersion() |
VersionProperty |
ServiceContext.getServiceVersion() |
VersionProperty |
ServiceFactory.getServiceVersion()
Returns the VersionProperty of the Service this connects to.
|
VersionProperty |
ConfigurationAdapter.getServiceVersion() |
| Modifier and Type | Method and Description |
|---|---|
static <ServiceClass,Param> |
ServiceConnectionDirectory.buildService(org.osgi.framework.BundleContext context,
VersionProperty serviceVersion,
VersionProperty configFormat,
Param param,
Class<Param> paramClass,
Class<ServiceClass> serviceClass)
Locates the appropriate ConfigurationLoader and ServiceFactory
matching the given versions, and able to create Service instance of the
ServiceClass using the given param.
|
static <ServiceClass,Param> |
ServiceConnectionDirectory.buildServiceContext(org.osgi.framework.BundleContext context,
VersionProperty serviceVersion,
VersionProperty configFormat,
Class<ServiceClass> serviceClass,
Class<Param> paramClass)
Locates an appropriate ConfigurationLoader and ServiceFactory
matching the given versions, and able to create Service instance of the
ServiceClass using a parameter of the given Param Class.
|
static <Conf,Param> |
ServiceUtils.createWriterServiceListener(org.osgi.framework.BundleContext context,
Class<Conf> configClass,
Class<Param> paramClass,
VersionProperty configFormat,
String serviceFilter) |
static <ServiceConfig,Param> |
ServiceConnectionDirectory.getConfigLoaders(org.osgi.framework.BundleContext context,
VersionProperty configFormat,
Class<ServiceConfig> configClass,
Class<Param> paramClass)
Retrieves all ServiceConfigurationLoaders with the given Param Class,
ServiceConfig Class, and Configuration Format Version.
|
static <ServiceConfig,Param> |
ServiceConnectionDirectory.getConfigWriters(org.osgi.framework.BundleContext context,
VersionProperty configFormat,
Class<ServiceConfig> configClass,
Class<Param> paramClass)
Finds ServiceConfigurationWriters matching the given criteria.
|
static <ServiceClass> |
ServiceConnectionDirectory.getServiceFactories(org.osgi.framework.BundleContext context,
VersionProperty serviceVersion,
Class<ServiceClass> serviceClass)
Retrieves all ServiceFactories with the given ServiceClass and Service
Version.
|
| Constructor and Description |
|---|
EmptyFactory(Class<T> clazz,
VersionProperty serviceVersion) |
| Modifier and Type | Method and Description |
|---|---|
VersionProperty |
ServiceAddOnDriver.getConfigurationFormat() |
VersionProperty |
DefaultAddOnDriver.getConfigurationFormat() |
VersionProperty |
ServiceAddOnDriver.getServiceVersion() |
VersionProperty |
DefaultAddOnDriver.getServiceVersion() |
| Modifier and Type | Method and Description |
|---|---|
static org.osgi.framework.ServiceReference[] |
AddOnUtils.getAddOnDriverReferences(org.osgi.framework.BundleContext context,
VersionProperty serviceVersion,
VersionProperty configFormat) |
| Constructor and Description |
|---|
DefaultAddOnDriver(org.osgi.framework.BundleContext context,
VersionProperty serviceVersion,
VersionProperty configFormat,
ConfigurationAdapter<AddOn,Config> configAdapter) |
Copyright © 2011-2014. All Rights Reserved.