public class ResourceToModelAdapterUpdater extends Object
AdapterFactory provides the type(s) it adapts from
and the types it can adapt to as OSGi service
properties. This information is used by Adaptable types to
adapt to
other types, i.e. is essentially a factory pattern.
ResourceToModelAdapter as
an AdapterFactory OSGi service and dynamically updates the before mentioned
service properties with regard to the resource models detected by the
ModelRegistrar.
This enables direct adaptation to the resource
models without having to provide all available models as service metadata at build time.| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceToModelAdapterUpdater.Configuration |
| Constructor and Description |
|---|
ResourceToModelAdapterUpdater() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(ResourceToModelAdapterUpdater.Configuration configuration,
org.osgi.framework.BundleContext context) |
protected void |
deActivate() |
void |
refresh() |
protected void activate(ResourceToModelAdapterUpdater.Configuration configuration, org.osgi.framework.BundleContext context)
protected void deActivate()
public void refresh()
Copyright © 2024. All rights reserved.