| Package | Description |
|---|---|
| org.robokind.api.common.services |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyFactory<T> |
| Modifier and Type | Method and Description |
|---|---|
ServiceFactory<ServiceClass,ServiceConfig> |
ServiceContext.getServiceFactory()
Return the ServiceFactory used by this ServiceContext.
|
| Modifier and Type | Method and Description |
|---|---|
static <ServiceClass> |
ServiceConnectionDirectory.getServiceFactories(org.osgi.framework.BundleContext context,
VersionProperty serviceVersion,
Class<ServiceClass> serviceClass)
Retrieves all ServiceFactories with the given ServiceClass and Service
Version.
|
| Modifier and Type | Method and Description |
|---|---|
static org.jflux.impl.services.rk.lifecycle.ManagedService |
ServiceUtils.registerFactory(org.osgi.framework.BundleContext context,
ServiceFactory fact)
Registers the given ServiceFactory with the factory's Service Version,
Service class, and Config class.
|
static org.jflux.impl.services.rk.lifecycle.ManagedService |
ServiceUtils.registerFactory(org.osgi.framework.BundleContext context,
ServiceFactory fact,
Properties props) |
void |
ServiceContext.setServiceFactory(ServiceFactory<ServiceClass,ServiceConfig> factory)
Sets the ServiceFactory to be used by this ServiceContext.
|
| Constructor and Description |
|---|
ServiceContext(ConfigurationLoader<ServiceConfig,Param> loader,
ServiceFactory<ServiceClass,ServiceConfig> factory)
Creates a new ServiceContext from the given
ConfigurationLoader and ServiceFactory.
|
Copyright © 2011-2014. All Rights Reserved.