public class InstanceModel extends Object
| Modifier and Type | Class and Description |
|---|---|
private class |
InstanceModel.ProvidedServiceModel
Simplified model of provided service.
|
private class |
InstanceModel.ServiceDependencyModel
Simplified model of service dependency.
|
| Modifier and Type | Field and Description |
|---|---|
private org.apache.felix.ipojo.architecture.Architecture |
architecture |
| Constructor and Description |
|---|
InstanceModel(org.apache.felix.ipojo.architecture.Architecture architecture)
Creates the instance model from the instance's architecture.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArchitecture() |
List<InstanceModel.ServiceDependencyModel> |
getDependencies() |
String |
getFactory() |
String |
getName() |
List<InstanceModel.ProvidedServiceModel> |
getServices() |
String |
getState() |
static List<InstanceModel> |
instances(org.osgi.framework.BundleContext context)
Creates the list of instance models from all
Architecture service
published in the service registry. |
private final org.apache.felix.ipojo.architecture.Architecture architecture
public InstanceModel(org.apache.felix.ipojo.architecture.Architecture architecture)
architecture - the architecturepublic static List<InstanceModel> instances(org.osgi.framework.BundleContext context)
Architecture service
published in the service registry.context - the bundle contextpublic String getName()
public String getArchitecture()
public String getFactory()
public String getState()
public List<InstanceModel.ProvidedServiceModel> getServices()
public List<InstanceModel.ServiceDependencyModel> getDependencies()
Copyright © 2013–2015 Wisdom Framework. All rights reserved.